mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 05:57:45 +00:00
24 lines
612 B
CMake
24 lines
612 B
CMake
cmake_policy(SET CMP0014 NEW)
|
|
cmake_minimum_required(VERSION 2.6)
|
|
project (Sapphire)
|
|
|
|
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
|
|
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
|
|
|
|
set(PROJECT_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include)
|
|
|
|
# boost stuff
|
|
# set(Boost_DEBUG 1)
|
|
|
|
if(NOT SAPPHIRE_BOOST_VER)
|
|
set(SAPPHIRE_BOOST_VER 1.60.0)
|
|
endif()
|
|
set(SAPPHIRE_BOOST_FOLDER_NAME boost_1_60_0)
|
|
|
|
include_directories("${PROJECT_INCLUDE_DIR}")
|
|
include_directories("${PROJECT_SOURCE_DIR}")
|
|
|
|
add_subdirectory("src/servers")
|
|
add_subdirectory("src/libraries/sapphire/datReader")
|