CMakeLists.txt 682 字节
Newer Older
H
Hongze Cheng 已提交
1
aux_source_directory(src EXECUTOR_SRC)
2 3 4 5 6 7 8
#add_library(executor ${EXECUTOR_SRC})

add_library(executor STATIC ${EXECUTOR_SRC})
#set_target_properties(executor PROPERTIES
#        IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/libexecutor.a"
#        INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/include/libs/executor"
#        )
H
Haojun Liao 已提交
9

10
target_link_libraries(executor
D
dapan1121 已提交
11
            PRIVATE os util common function parser planner qcom vnode scalar nodes
12 13
        )

H
Hongze Cheng 已提交
14
target_include_directories(
15 16 17
        executor
        PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/executor"
        PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
H
Haojun Liao 已提交
18 19
)

20 21 22
#if(${BUILD_TEST})
    ADD_SUBDIRECTORY(test)
#endif(${BUILD_TEST})