summaryrefslogtreecommitdiff
path: root/inject/CMakeLists.txt
blob: 9ecb9931b48ce0aac3235c193a853ca35fd53b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

add_library (injectee MODULE
    injectee.cpp
)
set_target_properties (injectee PROPERTIES
    PREFIX ""
)
install (TARGETS injectee LIBRARY DESTINATION bin)

add_executable (injector
    injector.cpp
)
set_target_properties (injector PROPERTIES
    OUTPUT_NAME inject
)
target_link_libraries (injector psapi)
install (TARGETS injector RUNTIME DESTINATION bin)