mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 08:54:12 +08:00
21 lines
344 B
CMake
21 lines
344 B
CMake
set(vnrhost_src
|
|
host.cc
|
|
textthread.cc
|
|
)
|
|
|
|
add_library(vnrhost ${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
|
|
)
|