Multi-user gravity beats for Sound of Science 2013 (server)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

34 lines
905 B

cmake_minimum_required(VERSION 2.8)
#include(motor/cmake/set_system_include_flag.cmake)
#include(motor/cmake/address_sanitizer.cmake)
#include(motor/cmake/enable_gnu11.cmake)
#include(motor/cmake/warning_settings.cmake)
#get_sane_warning_flags(warnings)
#include(motor/cmake/join.cmake)
#join("${warnings}" " " warnings)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${warnings}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++")
project(server)
add_subdirectory(${PROJECT_SOURCE_DIR}/contrib/libwebsockets/)
find_package(Boost 1.48 REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
set(boost ${Boost_LIBRARIES})
include_directories("${PROJECT_SOURCE_DIR}")
include_directories(SYSTEM "${PROJECT_SOURCE_DIR}/contrib/libwebsockets/")
set(all_friggin_libraries ${boost} websockets_shared)
add_executable(server main.cpp)
target_link_libraries(server ${all_friggin_libraries})