CMakeLists.txt 330 字节
Newer Older
S
Shengliang Guan 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
aux_source_directory(src MONITOR_SRC)
add_library(monitor STATIC ${MONITOR_SRC})
target_include_directories(
  monitor
  PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/monitor"
  PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

target_link_libraries(monitor os util common)

if(${BUILD_TEST})
    add_subdirectory(test)
endif(${BUILD_TEST})