This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
project(chakragtkconfig) |
| 2 |
cmake_minimum_required(VERSION 2.6) |
| 3 |
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) |
| 4 |
|
| 5 |
find_package(KDE4 REQUIRED) |
| 6 |
include(KDE4Defaults) |
| 7 |
|
| 8 |
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) |
| 9 |
include_directories( |
| 10 |
${CMAKE_SOURCE_DIR} |
| 11 |
${CMAKE_SOURCE_DIR}/src |
| 12 |
${CMAKE_SOURCE_DIR}/src/ui |
| 13 |
${KDE4_INCLUDES} ${QT_INCLUDES}) |
| 14 |
|
| 15 |
add_subdirectory(translations) |
| 16 |
|
| 17 |
set(kcm_SRCS |
| 18 |
src/appearencegtk.cpp |
| 19 |
src/thread.cpp |
| 20 |
src/installer.cpp |
| 21 |
src/gtkconfigkcmodule.cpp |
| 22 |
src/dialog_installer.cpp |
| 23 |
src/dialog_uninstaller.cpp |
| 24 |
) |
| 25 |
|
| 26 |
set(GHNS_FILES |
| 27 |
cgcicon.knsrc |
| 28 |
cgctheme.knsrc |
| 29 |
cgcgtk3.knsrc |
| 30 |
) |
| 31 |
|
| 32 |
kde4_add_ui_files(kcm_SRCS |
| 33 |
src/ui/gui.ui |
| 34 |
src/ui/dialog_installer.ui |
| 35 |
src/ui/dialog_uninstaller.ui |
| 36 |
) |
| 37 |
kde4_add_plugin(kcm_cgc ${kcm_SRCS}) |
| 38 |
|
| 39 |
target_link_libraries(kcm_cgc ${KDE4_KIO_LIBS} ${KDE4_KNEWSTUFF3_LIBS}) |
| 40 |
|
| 41 |
install(TARGETS kcm_cgc DESTINATION ${PLUGIN_INSTALL_DIR}) |
| 42 |
install(FILES ${GHNS_FILES} DESTINATION ${CONFIG_INSTALL_DIR}) |
| 43 |
install(FILES chakra-gtk-config.desktop DESTINATION ${SERVICES_INSTALL_DIR}) |
| 44 |
|
| 45 |
add_subdirectory(gtkproxies) |