diff --git a/CMakeLists.txt b/CMakeLists.txt index 292ad75b7d..765f2a195f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,13 +61,12 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib/${suffixInsta set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) -# For windows, we need to copy scripts over -if (WIN32) - -endif() - add_subdirectory(db) add_subdirectory(conf) add_subdirectory(3rdparty) add_subdirectory(src) -add_subdirectory(tools) \ No newline at end of file +add_subdirectory(tools) + +add_custom_target(server + DEPENDS login-server char-server map-server web-server scripts +) diff --git a/src/web/CMakeLists.txt b/src/web/CMakeLists.txt index 00a6685e5d..93c6c8fec0 100644 --- a/src/web/CMakeLists.txt +++ b/src/web/CMakeLists.txt @@ -5,7 +5,6 @@ find_package(Threads REQUIRED) target_sources(web-server PRIVATE "auth.cpp" - "auth.hpp" "charconfig_controller.cpp" "emblem_controller.cpp" "merchantstore_controller.cpp"