CMakeLists.txt 435 字节
Newer Older
H
Hongze Cheng 已提交
1
aux_source_directory(src EXECUTOR_SRC)
2 3

add_library(executor STATIC ${EXECUTOR_SRC})
H
Haojun Liao 已提交
4

5
target_link_libraries(executor
6
        PRIVATE os util common function parser planner qcom scalar nodes index wal tdb
7 8
        )

H
Hongze Cheng 已提交
9
target_include_directories(
10
        executor
wafwerar's avatar
wafwerar 已提交
11
        PUBLIC "${TD_SOURCE_DIR}/include/libs/executor"
12
        PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
H
Haojun Liao 已提交
13 14
)

H
Hongze Cheng 已提交
15
if(${BUILD_TEST})
16
    ADD_SUBDIRECTORY(test)
H
Hongze Cheng 已提交
17
endif(${BUILD_TEST})