-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
21 lines (17 loc) · 789 Bytes
/
CMakeLists.txt
File metadata and controls
21 lines (17 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cmake_minimum_required (VERSION 2.8.8)
project (aspectipstack NONE)
############## KCONFIG ##############
# * You do not have to use kconfig in that case the entire feature set is build.
# Selecting or deselecting features works by adding/removing files ;)
# * The buildsystem tries to setup a working kconfig frontend for you. kconfig
# is recommended.
# * You may provide an own kconfig executable with KCONFIG_EXECUTABLE.
option (BUILD_LIBIPSTACK_WITHOUT_KCONFIG "Build ipstack without kconfig" OFF)
# download,configure and build kconfig
if (NOT BUILD_LIBIPSTACK_WITHOUT_KCONFIG AND NOT EXISTS "${KCONFIG_EXECUTABLE}")
include(cmake/kconfig_frontends.cmake)
endif()
# build ipstack static lib
add_subdirectory (libipstack)
# build integrations
add_subdirectory (integration)