1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
project(Starserver) add_executable( Starserver Main.cpp NetAdminChat.cpp NetAdminServer.cpp NetFileServlet.cpp StarServer.cpp ) target_include_directories( Starserver PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ) target_link_libraries( Starserver PRIVATE StarsEx InfoEx ) install( TARGETS Starserver RUNTIME COMPONENT Runtime DESTINATION ${CMAKE_INSTALL_PREFIX} )