forked from cpp-netlib/cpp-netlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
25 lines (21 loc) · 734 Bytes
/
CMakeLists.txt
File metadata and controls
25 lines (21 loc) · 734 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
# Copyright (c) Dean Michael Berris 2010.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
cmake_minimum_required(VERSION 2.6)
project(CPP-NETLIB)
find_package( Boost 1.41.0 )
set(CMAKE_VERBOSE_MAKEFILE true)
if (CMAKE_BUILD_TYPE MATCHES Debug)
add_definitions(-DBOOST_NETWORK_DEBUG)
endif()
if (Boost_FOUND)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTI_THREADED ON)
include_directories(${Boost_INCLUDE_DIRS})
endif()
enable_testing()
add_subdirectory(libs/network/src)
add_subdirectory(libs/network/test)
add_subdirectory(libs/mime/test)
add_subdirectory(libs/network/example)