diff options
author | gregory guy <[email protected]> | 2020-07-30 23:51:02 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-08-07 15:31:04 +0200 |
commit | 0b3b22a0445d41f6165b583b97e021001356a7cf (patch) | |
tree | 2eb51e1ea4340f948ee345897c752f1e30416141 /systemsettings/CMakeLists.txt | |
parent | 913c0904f41f53faeebf9d094c16a5ba258b69aa (diff) | |
download | tde-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.txt | 57 |
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} +) |