summaryrefslogtreecommitdiffstats
path: root/systemsettings/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-07-30 23:51:02 +0200
committerSlávek Banko <[email protected]>2020-08-07 15:31:04 +0200
commit0b3b22a0445d41f6165b583b97e021001356a7cf (patch)
tree2eb51e1ea4340f948ee345897c752f1e30416141 /systemsettings/CMakeLists.txt
parent913c0904f41f53faeebf9d094c16a5ba258b69aa (diff)
downloadtde-systemsettings-0b3b22a0445d41f6165b583b97e021001356a7cf.tar.gz
tde-systemsettings-0b3b22a0445d41f6165b583b97e021001356a7cf.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <[email protected]>
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}
+)