CMakeLists.txt 365 字节
Newer Older
1 2 3 4
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/src SOURCE_LIST)

add_definitions(-DUSE_PROCESSOR_CLOCK)

5 6
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../MsvcLibX/include)

7 8
ADD_LIBRARY(rmonotonic ${SOURCE_LIST})
TARGET_INCLUDE_DIRECTORIES(rmonotonic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/inc)
9 10 11
IF (TD_WINDOWS)
  TARGET_LINK_LIBRARIES(rmonotonic MsvcLibXw)
ENDIF ()