cpp11chat/CMakeLists.txt

12 lines
383 B
CMake

cmake_minimum_required(VERSION 3.6)
project(cpp11NHF2_chat)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")
find_package(Boost COMPONENTS serialization system REQUIRED)
include_directories(${Boost_INCLUDE_DIR})
set(SOURCE_FILES server.cpp)
add_executable(cpp11NHF2_chat ${SOURCE_FILES})
target_link_libraries(cpp11NHF2_chat ${Boost_LIBRARIES})