cyphesis/tools/CMakeLists.txt
2017-08-05 18:03:04 +02:00

87 lines
2.5 KiB
CMake

add_executable(cycmd
cycmd.cpp
Flusher.cpp
OperationMonitor.cpp
EntityExporterBase.cpp
EntityExporter.cpp
EntityImporterBase.cpp
EntityImporter.cpp
AdminClient.cpp
ObjectContext.cpp
IdContext.cpp
AccountContext.cpp
AvatarContext.cpp
ConnectionContext.cpp
JunctureContext.cpp
Interactive.cpp)
target_link_libraries(cycmd ${READLINE_LIBRARY})
target_link_libraries(cycmd
common)
install(TARGETS cycmd DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cyconfig cyconfig.cpp)
target_link_libraries(cyconfig
common)
install(TARGETS cyconfig DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cyconvertrules cyconvertrules.cpp)
target_link_libraries(cyconvertrules
common)
install(TARGETS cyconvertrules DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cyaddrules cyaddrules.cpp AdminClient.cpp)
target_link_libraries(cyaddrules
common)
install(TARGETS cyaddrules DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cyloadrules cyloadrules.cpp)
target_link_libraries(cyloadrules
tools
common)
install(TARGETS cyloadrules DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cydumprules cydumprules.cpp)
target_link_libraries(cydumprules
common)
install(TARGETS cydumprules DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cypasswd cypasswd.cpp)
target_link_libraries(cypasswd
tools
common)
install(TARGETS cypasswd DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cydb cydb.cpp)
target_link_libraries(cydb ${READLINE_LIBRARY})
target_link_libraries(cydb
tools
common)
install(TARGETS cydb DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cypython cypython.cpp)
target_link_libraries(cypython ${READLINE_LIBRARY})
target_link_libraries(cypython
common)
install(TARGETS cypython DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cyexport cyexport.cpp EntityExporterBase.cpp
EntityExporter.cpp AgentCreationTask.cpp
WaitForDeletionTask.cpp
)
target_link_libraries(cyexport
common)
install(TARGETS cyexport DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
add_executable(cyimport cyimport.cpp EntityImporterBase.cpp
EntityImporter.cpp AgentCreationTask.cpp
EntityTraversalTask.cpp WaitForDeletionTask.cpp)
target_link_libraries(cyimport
common)
install(TARGETS cyimport DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})