set(SRCS
archiver.cpp
entity.cpp
entity_component.cpp
baseapp.cpp
baseapp_interface.cpp
backuper.cpp
entity_messages_forward_handler.cpp
data_download.cpp
data_downloads.cpp
entity_autoloader.cpp
entity_remotemethod.cpp
forward_message_over_handler.cpp
initprogress_handler.cpp
restore_entity_handler.cpp
sync_entitystreamtemplate_handler.cpp
space.cpp
main.cpp
proxy.cpp
proxy_forwarder.cpp
profile.cpp
)
add_executable(baseapp ${SRCS})
target_link_libraries(baseapp
PRIVATE
server
resmgr
entitydef
network
thread
pyscript
common
helper
math
g3dlite
log4cxx
)
target_compile_definitions(baseapp PUBLIC LOG4CXX_STATIC)
target_link_libraries(baseapp PRIVATE python_interface)
if(NOT APPLE)
target_link_options(baseapp PRIVATE -Wl,-export-dynamic)
endif()
target_link_libraries(baseapp PRIVATE KBEOpenSSL::SSL)
set_target_properties(baseapp PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${KBE_ROOT}/kbe/bin/server"
)