35 lines
599 B
CMake
35 lines
599 B
CMake
cmake_minimum_required(VERSION 3.15)
|
|
|
|
if(WIN32 OR APPLE OR BSD)
|
|
message(FATAL_ERROR "not happening, sorry")
|
|
endif()
|
|
|
|
|
|
project(SSX3LobbyServerServer
|
|
LANGUAGES CXX
|
|
)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
|
|
|
include(Policies)
|
|
include(ProjectFuncs)
|
|
include(CompilerFlags)
|
|
|
|
option(LS_BUILD_TESTING "Build unit tests" ON)
|
|
|
|
lobbyserver_set_alternate_linker()
|
|
|
|
# third party vendor dependencies
|
|
add_subdirectory(third_party)
|
|
|
|
# libraries
|
|
add_subdirectory(lib/base)
|
|
add_subdirectory(lib/impl)
|
|
add_subdirectory(lib/http)
|
|
|
|
add_subdirectory(lib/aries)
|
|
|
|
# projects
|
|
add_subdirectory(src)
|
|
|