CMakeLists.txt 519 字节
Newer Older
D
dapan1121 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

MESSAGE(STATUS "build scheduler unit test")

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

ADD_EXECUTABLE(schedulerTest ${SOURCE_LIST})
TARGET_LINK_LIBRARIES(
        schedulerTest
        PUBLIC os util common catalog transport gtest qcom taos planner scheduler
)

TARGET_INCLUDE_DIRECTORIES(
        schedulerTest
wafwerar's avatar
wafwerar 已提交
16 17
        PUBLIC "${TD_SOURCE_DIR}/include/libs/scheduler/"
        PRIVATE "${TD_SOURCE_DIR}/source/libs/scheduler/inc"
D
dapan1121 已提交
18
)