-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
35 lines (27 loc) · 909 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
#
# Copyright Ange Optimization ApS 2010-2015
#
cmake_minimum_required(VERSION 3.0)
cmake_policy(VERSION 3.0)
project(qdatacube)
set(QDATACUBE_VERSION "3.1.2")
set(QDATACUBE_SO_VERSION 4)
include(CMakePackageConfigHelpers)
include(GenerateExportHeader)
find_package(Qt5Core 5.2.0 REQUIRED CONFIG)
find_package(Qt5Widgets 5.2.0 REQUIRED CONFIG)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
set(CMAKE_CXX_FLAGS "-Wl,--build-id")
set(CMAKE_EXE_LINKER_FLAGS "-Wl,--build-id")
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
add_compile_options(-Wall)
add_compile_options(-Wextra)
add_compile_options(-Werror)
add_compile_options(-Wno-error=deprecated-declarations)
add_compile_options(-ggdb3)
enable_testing()
add_subdirectory(src)