aux_source_directory(src EXECUTOR_SRC)
#add_library(executor ${EXECUTOR_SRC})


#target_link_libraries(
#        executor
#        PRIVATE os util common function parser planner qcom tsdb
#)

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"
#        )
target_link_libraries(executor
            PRIVATE os util common function parser planner qcom vnode
        )

target_include_directories(
        executor
        PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/executor"
        PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

#if(${BUILD_TEST})
    ADD_SUBDIRECTORY(test)
#endif(${BUILD_TEST})