summaryrefslogtreecommitdiffstats
path: root/systemsettings/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'systemsettings/CMakeLists.txt')
-rw-r--r--systemsettings/CMakeLists.txt57
1 files changed, 57 insertions, 0 deletions
diff --git a/systemsettings/CMakeLists.txt b/systemsettings/CMakeLists.txt
new file mode 100644
index 0000000..c1a4bb2
--- /dev/null
+++ b/systemsettings/CMakeLists.txt
@@ -0,0 +1,57 @@
+add_subdirectory( menu )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### systemsettings (executable)
+
+tde_add_executable( systemsettings AUTOMOC
+
+ SOURCES
+ tdecmodulemenu.cpp
+ kcmsearch.cpp
+ kcmultiwidget.cpp
+ main.cpp
+ mainwindow.cpp
+ moduleiconitem.cpp
+ modulesview.cpp
+ kcscrollview.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeutils-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons()
+
+
+##### other data
+
+tde_create_translated_desktop( systemsettings.desktop )
+
+install(
+ FILES systemsettingsui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/systemsettings
+)
+
+install(
+ FILES systemsettingsrc
+ DESTINATION ${CONFIG_INSTALL_DIR}
+)