-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCMakeLists.txt
29 lines (20 loc) · 1.37 KB
/
CMakeLists.txt
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
####################################################################################################
# #
# Project: NextGIS Formbuilder #
# Authors: Mikhail Gusev, gusevmihs@gmail.com #
# Copyright (C) 2014-2019 NextGIS #
# #
####################################################################################################
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) #cmake_minimum_required(VERSION 3.9.0)
project(fb) #project(formbuilder)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
include(fb_util)
# An option to build package for NextGIS online installer.
set(BUILD_NEXTGIS_PACKAGE OFF CACHE BOOL "Build package for NextGIS Installation system (based on Borsch) instead of simple build")
# TODO: add an option to build offline installer.
# TODO: add an option to build online/offline documentation.
# TODO: add an option to build tests.
# Include root dir.
include_directories(src)
# Build libraries and desktop application.
add_subdirectory(src)