体验新版 GitCode,发现更多精彩内容 >>
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
PRIVATE os util catalog function transport qcom
)
if(${BUILD_TEST}) ADD_SUBDIRECTORY(test) endif(${BUILD_TEST})