26 lines
485 B
CMake
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")
|