1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-30 08:07:46 +00:00
sapphire/CMakeLists.txt
Adam 25472b1401 Remove VS2015 boost compiler from CMake
This changes let CMake determine which boost compiler to use and therefore allowing it to use toolchain other than VS2015.
2017-08-17 23:48:47 +09:00

23 lines
582 B
CMake

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")