mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 01:14:12 +08:00
28 lines
422 B
CMake
28 lines
422 B
CMake
project(host)
|
|
|
|
set(vnrhost_src
|
|
host.h
|
|
pipe.h
|
|
textthread.h
|
|
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
|
|
)
|