forked from qmule/libed2k
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
22 lines (18 loc) · 726 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 2.8)
project(libed2k)
set(libed2k_version 0.0.1)
set(out_dir "${PROJECT_SOURCE_DIR}/bin")
####### Build customization
# Override from command line "CMake -D<OPTION>=TRUE/FALSE/0/1/ON/OFF"
option (PRODUCTION "Build project in production mode." FALSE)
option (BUILD_TESTS "Build unit tests." TRUE)
option (BUILD_TOOLS "Build tools." TRUE)
option (BUILD_SHARED "Build shared library." FALSE)
option (DISABLE_DHT "Enable KAD support" FALSE)
option (UPNP_VERBOSE "Verbose output for UPnP" FALSE)
option (DHT_VERBOSE "Verbose output for DHT" FALSE)
include(cmake/Environment.cmake)
include(cmake/Linux.cmake)
include(cmake/Windows.cmake)
include(cmake/Android.cmake)
include(cmake/Targets.cmake)