Textractor_test/texthook/CMakeLists.txt

28 lines
422 B
CMake
Raw Normal View History

2018-07-20 15:10:34 -04:00
project(host)
set(vnrhost_src
host.h
2018-07-19 00:46:52 -04:00
pipe.h
textthread.h
2018-07-20 17:21:35 -04:00
winmutex.h
host.cc
pipe.cc
textthread.cc
)
add_library(vnrhost SHARED ${vnrhost_src})
set_target_properties(vnrhost PROPERTIES LINK_FLAGS /SUBSYSTEM:WINDOWS)
target_compile_options(vnrhost PRIVATE
# /GR-
$<$<CONFIG:Release>:>
$<$<CONFIG:Debug>:>
)
target_compile_definitions(vnrhost
PRIVATE
ITH_HAS_CRT
_CRT_NON_CONFORMING_SWPRINTFS
)