CMakeLists.txt 348 字节
Newer Older
H
Haojun Liao 已提交
1
aux_source_directory(src QUERY_SRC)
S
Shengliang Guan 已提交
2
add_library(qcom STATIC ${QUERY_SRC})
H
Haojun Liao 已提交
3 4 5 6 7 8 9
target_include_directories(
    qcom
    PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/qcom"
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

target_link_libraries(
H
refact  
Hongze Cheng 已提交
10
    qcom
D
dapan1121 已提交
11
    PRIVATE os util transport nodes
H
Haojun Liao 已提交
12
)
H
Haojun Liao 已提交
13

H
refact  
Hongze Cheng 已提交
14 15 16
if(${BUILD_TEST})
    ADD_SUBDIRECTORY(test)
endif(${BUILD_TEST})