Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | |||||
57 | if(UNIX) | 57 | if(UNIX) | ||
58 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x") | 58 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x") | ||
59 | endif() | 59 | endif() | ||
60 | 60 | | |||
61 | 61 | | |||
62 | # Load CMake, Compiler and InstallDirs settings from KF5 and the following are already somewhat "done" tier1/tier2 libs from kdelibs: | 62 | # Load CMake, Compiler and InstallDirs settings from KF5 and the following are already somewhat "done" tier1/tier2 libs from kdelibs: | ||
63 | find_package(KF5 REQUIRED COMPONENTS | 63 | find_package(KF5 REQUIRED COMPONENTS | ||
64 | Archive Completion Config ConfigWidgets CoreAddons DBusAddons Declarative I18n IconThemes | 64 | Archive Completion Config ConfigWidgets CoreAddons DBusAddons Declarative I18n IconThemes | ||
65 | KIO Plasma PlasmaQuick Service TextEditor WidgetsAddons XmlGui WindowSystem DocTools) | 65 | KIO Plasma PlasmaQuick Service TextEditor WidgetsAddons DocTools) | ||
66 | 66 | | |||
67 | ######################################################################### | 67 | ######################################################################### | ||
68 | 68 | | |||
69 | add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS) | 69 | add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS) | ||
70 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | 70 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | ||
71 | 71 | | |||
72 | remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS) | 72 | remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS) | ||
73 | 73 | | |||
Show All 14 Lines |