2016-01-06 00:01:17 +09:00
|
|
|
set(vnrhost_src
|
|
|
|
host.cc
|
|
|
|
pipe.cc
|
|
|
|
textthread.cc
|
|
|
|
)
|
|
|
|
|
2018-08-24 11:32:10 -04:00
|
|
|
add_library(vnrhost ${vnrhost_src})
|
2016-01-06 00:01:17 +09:00
|
|
|
|
|
|
|
set_target_properties(vnrhost PROPERTIES LINK_FLAGS /SUBSYSTEM:WINDOWS)
|
|
|
|
|
|
|
|
target_compile_options(vnrhost PRIVATE
|
|
|
|
# /GR-
|
2018-07-28 22:37:54 -07:00
|
|
|
$<$<CONFIG:Release>:>
|
2016-01-06 00:01:17 +09:00
|
|
|
$<$<CONFIG:Debug>:>
|
|
|
|
)
|
|
|
|
|
|
|
|
target_compile_definitions(vnrhost
|
|
|
|
PRIVATE
|
|
|
|
ITH_HAS_CRT
|
|
|
|
_CRT_NON_CONFORMING_SWPRINTFS
|
|
|
|
)
|