Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwincompositing/CMakeLists.txt
1 | ######################################################################### | 1 | ######################################################################### | ||
---|---|---|---|---|---|
2 | # KI18N Translation Domain for this library | 2 | # KI18N Translation Domain for this library | ||
3 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwincompositing\") | 3 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwincompositing\") | ||
4 | 4 | | |||
5 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | 5 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) | ||
6 | 6 | | |||
7 | remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY) | 7 | remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY) | ||
8 | 8 | | |||
9 | include_directories(${KWIN_SOURCE_DIR}/effects) | 9 | include_directories(${KWIN_SOURCE_DIR}/effects) | ||
10 | 10 | | |||
11 | ################# configure checks and create the configured files ################# | 11 | ################# configure checks and create the configured files ################# | ||
12 | 12 | | |||
13 | # now create config headers | | |||
14 | configure_file(config-prefix.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-prefix.h ) | | |||
15 | configure_file(config-compiler.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-compiler.h ) | | |||
16 | | ||||
17 | set(kwincomposing_SRC | 13 | set(kwincomposing_SRC | ||
18 | model.cpp | 14 | model.cpp | ||
19 | main.cpp | 15 | main.cpp | ||
20 | compositing.cpp | 16 | compositing.cpp | ||
21 | effectconfig.cpp) | 17 | effectconfig.cpp) | ||
22 | 18 | | |||
23 | qt5_add_dbus_interface( kwincomposing_SRC | 19 | qt5_add_dbus_interface( kwincomposing_SRC | ||
24 | ${KWIN_SOURCE_DIR}/org.kde.kwin.Compositing.xml kwin_compositing_interface) | 20 | ${KWIN_SOURCE_DIR}/org.kde.kwin.Compositing.xml kwin_compositing_interface) | ||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |