TarsCloud_TarsCpp/servant/libservant/CMakeLists.txt
2021-08-23 15:35:24 +08:00

18 lines
418 B
CMake
Executable File

# if(TARS_OPENTRACKING)
# include_directories(${PROJECT_SOURCE_DIR} ${OPENTRACKING_INC})
# else()
include_directories(${PROJECT_SOURCE_DIR})
# endif()
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
aux_source_directory(. DIR_SRCS)
add_library(tarsservant ${DIR_SRCS})
add_dependencies(tarsservant COPY-SERVENT-TARS)
install(TARGETS tarsservant
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)