CMakeLists.txt 498 字节
Newer Older
D
dapan1121 已提交
1 2 3 4 5 6 7 8 9 10

MESSAGE(STATUS "build qworker unit test")

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

ADD_EXECUTABLE(qworkerTest ${SOURCE_LIST})
TARGET_LINK_LIBRARIES(
        qworkerTest
D
dapan 已提交
11
        PUBLIC os util common transport gtest qcom planner qworker
D
dapan1121 已提交
12 13 14 15 16 17 18
)

TARGET_INCLUDE_DIRECTORIES(
        qworkerTest
        PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/qworker/"
        PRIVATE "${CMAKE_SOURCE_DIR}/source/libs/qworker/inc"
)