CMakeLists.txt 509 字节
Newer Older
1 2 3 4 5 6 7

MESSAGE(STATUS "build parser unit test")

# GoogleTest requires at least C++11
SET(CMAKE_CXX_STANDARD 11)
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST)

8
ADD_EXECUTABLE(parserTest ${SOURCE_LIST})
9 10

TARGET_INCLUDE_DIRECTORIES(
11
        parserTest
wafwerar's avatar
wafwerar 已提交
12 13
        PUBLIC "${TD_SOURCE_DIR}/include/libs/parser/"
        PRIVATE "${TD_SOURCE_DIR}/source/libs/parser/inc"
14
)
15 16 17

TARGET_LINK_LIBRARIES(
        parserTest
18
        PUBLIC os util common nodes parser catalog transport gtest function planner qcom
19
)