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

target_link_libraries(
        parser
11
        PRIVATE os util nodes catalog function transport qcom
12 13
)

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