-
Notifications
You must be signed in to change notification settings - Fork 60
/
CMakeLists.txt
executable file
·35 lines (29 loc) · 989 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
23
24
25
26
27
28
29
30
31
32
33
34
35
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(QGeoView LANGUAGES C CXX)
option(BUILD_EXAMPLES "Build examples" ON)
find_package(GDAL CONFIG)
add_subdirectory(lib)
if (${BUILD_EXAMPLES})
message(STATUS "Enabled building of examples")
add_subdirectory(samples/shared)
add_subdirectory(samples/basic)
add_subdirectory(samples/background)
add_subdirectory(samples/widgets)
add_subdirectory(samples/flags)
add_subdirectory(samples/layers)
add_subdirectory(samples/raster)
add_subdirectory(samples/fun)
add_subdirectory(samples/10000)
add_subdirectory(samples/debug)
add_subdirectory(samples/performance)
add_subdirectory(samples/custom-tiles)
add_subdirectory(samples/moving-objects)
add_subdirectory(samples/mouse-actions)
add_subdirectory(samples/camera-actions)
add_subdirectory(samples/drag-and-drop)
if(GDAL_FOUND)
add_subdirectory(samples/gdal-shapefile)
endif()
else ()
message(STATUS "Disabled building of examples")
endif ()