initial commit. written a CMakeLists.txt to import boost::asio & serialization
This commit is contained in:
commit
55406b5bae
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
.idea
|
||||
.DS_Store
|
||||
*.out
|
||||
CMakeFiles
|
||||
CMakeCache.txt
|
||||
cmake_install.cmake
|
||||
Makefile
|
||||
cpp11NHF1_refcountedString
|
||||
build
|
12
CMakeLists.txt
Normal file
12
CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
||||
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 main.cpp)
|
||||
add_executable(cpp11NHF2_chat ${SOURCE_FILES})
|
||||
target_link_libraries(cpp11NHF2_chat ${Boost_LIBRARIES})
|
Loading…
Reference in New Issue
Block a user