CMakeLists.txt 385 字节
Newer Older
H
more  
hzcheng 已提交
1 2 3
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src SOURCE_LIST)

add_library(tsdb STATIC ${SOURCE_LIST})
H
more  
hzcheng 已提交
4
target_link_libraries(tsdb common tutil)
H
more  
hzcheng 已提交
5

H
more  
hzcheng 已提交
6 7
target_include_directories(tsdb 
  PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/inc" 
H
hzcheng 已提交
8
  PUBLIC "${CMAKE_SOURCE_DIR}/src/inc"
H
more  
hzcheng 已提交
9 10
  PUBLIC "${CMAKE_SOURCE_DIR}/src/util/inc"
  PUBLIC "${CMAKE_SOURCE_DIR}/src/os/linux/inc"
H
hzcheng 已提交
11 12 13
  )

add_subdirectory(tests)