
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
        PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/scheduler/"
        PRIVATE "${CMAKE_SOURCE_DIR}/source/libs/scheduler/inc"
)
