CMakeLists.txt 387 字节
Newer Older
H
Haojun Liao 已提交
1 2 3 4 5 6 7 8 9 10
aux_source_directory(src PARSER_SRC)
add_library(parser ${PARSER_SRC})
target_include_directories(
        parser
        PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/parser"
        PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

target_link_libraries(
        parser
H
Haojun Liao 已提交
11
        PRIVATE os util catalog function transport qcom
12 13
)

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