blob: d855e7eadafdd7130b1b42f00aad01e616361651 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
file(GLOB SOURCES "src/*.h" "src/*.cpp")
if(CMAKE_CL_64)
list(APPEND SOURCES "src/mir_core64.def")
else()
list(APPEND SOURCES "src/mir_core.def")
endif()
set(TARGET mir_core)
include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake)
target_link_libraries(${TARGET} comctl32.lib Wtsapi32.lib)
set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "MIR_CORE_EXPORTS")
add_custom_command(TARGET ${TARGET} PRE_BUILD COMMAND "${CMAKE_SOURCE_DIR}/build/make_ver.bat")
|