Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 35 Lines | |||||
36 | # Required Qt5 components to build this framework | 36 | # Required Qt5 components to build this framework | ||
37 | find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Network) | 37 | find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Network) | ||
38 | 38 | | |||
39 | set(ATTICA_LIB_SONAME KF5Attica) | 39 | set(ATTICA_LIB_SONAME KF5Attica) | ||
40 | 40 | | |||
41 | # Enable static build | 41 | # Enable static build | ||
42 | option(ATTICA_STATIC_BUILD "Build a static library" Off) | 42 | option(ATTICA_STATIC_BUILD "Build a static library" Off) | ||
43 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | 43 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | ||
44 | add_definitions(-DQT_NO_FOREACH) | ||||
44 | add_subdirectory(src) | 45 | add_subdirectory(src) | ||
45 | 46 | | |||
46 | # Enable unit testing | 47 | # Enable unit testing | ||
47 | if (BUILD_TESTING) | 48 | if (BUILD_TESTING) | ||
48 | add_subdirectory(autotests) | 49 | add_subdirectory(autotests) | ||
49 | add_subdirectory(tests) | 50 | add_subdirectory(tests) | ||
50 | endif () | 51 | endif () | ||
51 | 52 | | |||
Show All 39 Lines |