2024-02-05 06:24:48 -05:00
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
|
|
|
|
if(WIN32 OR APPLE OR BSD)
|
|
|
|
message(FATAL_ERROR "not happening, sorry")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
2024-03-10 05:55:40 -04:00
|
|
|
project(SSX3LobbyServerServer
|
2024-02-05 06:24:48 -05:00
|
|
|
LANGUAGES CXX
|
|
|
|
)
|
|
|
|
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
|
|
|
|
|
|
|
include(Policies)
|
|
|
|
include(ProjectFuncs)
|
|
|
|
include(CompilerFlags)
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
# projects
|
|
|
|
add_subdirectory(src)
|
|
|
|
|