CMakeLists.txt 362 字节
Newer Older
H
refact  
Hongze Cheng 已提交
1 2 3 4 5 6
aux_source_directory(src WAL_SRC)
add_library(wal ${WAL_SRC})
target_include_directories(
    wal
    PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/wal"
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
L
Liu Jicong 已提交
7 8 9
)

target_link_libraries(
L
Liu Jicong 已提交
10
    wal
L
Liu Jicong 已提交
11
    PUBLIC cjson
L
Liu Jicong 已提交
12
    PUBLIC os
L
Liu Jicong 已提交
13
    PUBLIC util
L
Liu Jicong 已提交
14
    PUBLIC common
L
Liu Jicong 已提交
15
)
L
Liu Jicong 已提交
16 17 18 19

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