CMakeLists.txt 335 字节
Newer Older
H
Haojun Liao 已提交
1 2 3 4 5 6 7 8 9
aux_source_directory(src QUERY_SRC)
add_library(qcom ${QUERY_SRC})
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 11
    qcom
    PRIVATE os util transport
H
Haojun Liao 已提交
12
)
H
Haojun Liao 已提交
13

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