jp9000 cb0db6240b win-capture: Add inject-helper program
This program simply injects a library in to the target progress using
SetWindowsHookEx.
2014-12-09 14:21:07 -08:00

26 lines
485 B
CMake

project(inject-helper)
set(inject-helper_HEADERS
../obfuscate.h)
set(inject-helper_SOURCES
../obfuscate.c
inject-helper.c)
add_executable(inject-helper
${inject-helper_SOURCES})
target_link_libraries(inject-helper)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(_output_suffix "64")
else()
set(_output_suffix "32")
endif()
set_target_properties(inject-helper
PROPERTIES
OUTPUT_NAME "inject-helper${_output_suffix}")
install_obs_datatarget(inject-helper "obs-plugins/win-capture")