Add custom 'server' target
This commit is contained in:
parent
855cf12007
commit
6ae46a7bf8
@ -61,13 +61,12 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib/${suffixInsta
|
|||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
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(db)
|
||||||
add_subdirectory(conf)
|
add_subdirectory(conf)
|
||||||
add_subdirectory(3rdparty)
|
add_subdirectory(3rdparty)
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(tools)
|
add_subdirectory(tools)
|
||||||
|
|
||||||
|
add_custom_target(server
|
||||||
|
DEPENDS login-server char-server map-server web-server scripts
|
||||||
|
)
|
||||||
|
|||||||
@ -5,7 +5,6 @@ find_package(Threads REQUIRED)
|
|||||||
|
|
||||||
target_sources(web-server PRIVATE
|
target_sources(web-server PRIVATE
|
||||||
"auth.cpp"
|
"auth.cpp"
|
||||||
"auth.hpp"
|
|
||||||
"charconfig_controller.cpp"
|
"charconfig_controller.cpp"
|
||||||
"emblem_controller.cpp"
|
"emblem_controller.cpp"
|
||||||
"merchantstore_controller.cpp"
|
"merchantstore_controller.cpp"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user