-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (24 loc) · 907 Bytes
/
CMakeLists.txt
File metadata and controls
32 lines (24 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#simplex cmake project builder
cmake_minimum_required(VERSION 3.6)
project(simplex)
#set(CMAKE_CONFIGURATION_TYPES "cmake-build-debug;release")
set(CMAKE_CXX_STANDARD 11)
set( Boost_USE_MULTITHREADED ON )
set( Boost_USE_STATIC_LIBS ON )
set( Boost_DETAILED_FAILURE_MSG ON )
#set( Boost_COMPILER "-vc140" )
set(Boost_DEBUG ON)
FIND_PACKAGE( Boost COMPONENTS program_options iostreams filesystem system REQUIRED )
include_directories(${Boost_INCLUDE_DIRS})
link_libraries(ws2_32 wsock32 ${Boost_LIBRARIES})
#message(STATUS "Boost_LIBRARY_DIRS: ${Boost_LIBRARY_DIRS}")
#message(STATUS "Boost_IOSTREAMS: ${Boost_IOSTREAMS}")
#message(STATUS "Boost_LIBRARIES: ${Boost_LIBRARIES}")
#message(STATUS "Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}")
set(SOURCE_FILES
main.cpp
streamer.cpp
streamer.h
udp_server.cpp
udp_server.h)
add_executable(simplex ${SOURCE_FILES})