|
|
@ -1,8 +1,5 @@
|
|
|
|
project(masterserver)
|
|
|
|
project(masterserver)
|
|
|
|
|
|
|
|
|
|
|
|
#set(CMAKE_CXX_STANDARD 14)
|
|
|
|
|
|
|
|
add_definitions(-std=gnu++14)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include_directories("./")
|
|
|
|
include_directories("./")
|
|
|
|
|
|
|
|
|
|
|
|
set(SOURCE_FILES main.cpp MasterServer.cpp MasterServer.hpp RestServer.cpp RestServer.hpp AdminRest.cpp)
|
|
|
|
set(SOURCE_FILES main.cpp MasterServer.cpp MasterServer.hpp RestServer.cpp RestServer.hpp AdminRest.cpp)
|
|
|
@ -10,6 +7,8 @@ set(SOURCE_FILES main.cpp MasterServer.cpp MasterServer.hpp RestServer.cpp RestS
|
|
|
|
add_executable(masterserver ${SOURCE_FILES})
|
|
|
|
add_executable(masterserver ${SOURCE_FILES})
|
|
|
|
target_link_libraries(masterserver ${RakNet_LIBRARY} ${LuaJit_LIBRARIES} ${OPENSSL_LIBRARIES} components)
|
|
|
|
target_link_libraries(masterserver ${RakNet_LIBRARY} ${LuaJit_LIBRARIES} ${OPENSSL_LIBRARIES} components)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set_property(TARGET masterserver PROPERTY CXX_STANDARD 14)
|
|
|
|
|
|
|
|
|
|
|
|
option(BUILD_MASTER_TEST "build master server test program" OFF)
|
|
|
|
option(BUILD_MASTER_TEST "build master server test program" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
if(BUILD_MASTER_TEST)
|
|
|
|
if(BUILD_MASTER_TEST)
|
|
|
|