summaryrefslogtreecommitdiffstats
path: root/kiosktool
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-09-20 17:06:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-22 15:39:08 +0200
commit58580c91c19ae366c479078ffc09ed35ef6dea4b (patch)
tree61a49e37c9cfcf4d1bebae63da45d245d64470c7 /kiosktool
parent6f33d9362a7986a4bfa8505b6bcd32a4447f740e (diff)
downloadkiosktool-58580c91c19ae366c479078ffc09ed35ef6dea4b.tar.gz
kiosktool-58580c91c19ae366c479078ffc09ed35ef6dea4b.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit e9398903e02dc665d77bca0c0563153d71cda0fa)
Diffstat (limited to 'kiosktool')
-rw-r--r--kiosktool/CMakeLists.txt93
-rw-r--r--kiosktool/kcms/CMakeLists.txt1
-rw-r--r--kiosktool/kcms/autostart/CMakeLists.txt34
3 files changed, 128 insertions, 0 deletions
diff --git a/kiosktool/CMakeLists.txt b/kiosktool/CMakeLists.txt
new file mode 100644
index 0000000..3ac1c09
--- /dev/null
+++ b/kiosktool/CMakeLists.txt
@@ -0,0 +1,93 @@
+add_subdirectory( kcms )
+
+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}
+)
+
+
+##### kiosktool (executable)
+
+tde_add_executable( ${PROJECT_NAME} AUTOMOC
+
+ SOURCES
+ main.cpp
+ kioskgui.cpp
+ kioskdata.cpp
+ kioskrun.cpp
+ mainview.ui
+ profileSelectionPage_ui.ui
+ profilePropsPage.cpp
+ profilePropsPage_ui.ui
+ pageWidget.cpp
+ component.cpp
+ desktopComponent.cpp
+ menueditComponent.cpp
+ screensaverComponent.cpp
+ panelComponent.cpp
+ filetypeeditComponent.cpp
+ componentSelectionPage.cpp
+ componentSelectionPage_ui.ui
+ componentPage.cpp
+ componentPage_ui.ui
+ userManagement.cpp
+ userManagement_ui.ui
+ userManagementGroup_ui.ui
+ userManagementUser_ui.ui
+ kioskConfigDialog.cpp
+ kioskConfigDialog_ui.ui
+ kiosksync.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kiosktool-tdedirs (executable)
+
+tde_add_executable( kiosktool-tdedirs AUTOMOC
+ SOURCES kiosktool-tdedirs.cpp
+ LINK tdecore-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( ${PROJECT_NAME} )
+
+
+##### other data
+
+install(
+ FILES
+ kiosktoolui.rc
+ kiosk_data.xml
+ caption.png
+ background.png
+ logo.png
+ caption-da.png
+ caption-empty.png
+ caption-et.png
+ caption-pt.png
+ caption-pt_BR.png
+ caption-sv.png
+
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
+)
+
+install(
+ FILES kiosktool.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/kiosktool/kcms/CMakeLists.txt b/kiosktool/kcms/CMakeLists.txt
new file mode 100644
index 0000000..4d25def
--- /dev/null
+++ b/kiosktool/kcms/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory( autostart )
diff --git a/kiosktool/kcms/autostart/CMakeLists.txt b/kiosktool/kcms/autostart/CMakeLists.txt
new file mode 100644
index 0000000..722a583
--- /dev/null
+++ b/kiosktool/kcms/autostart/CMakeLists.txt
@@ -0,0 +1,34 @@
+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}
+)
+
+
+##### kcm_autostart (kpart)
+
+tde_add_kpart( kcm_autostart AUTOMOC
+ SOURCES kcmautostart.cpp
+ LINK tdeio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( autostart )
+
+
+##### other data
+
+install(
+ FILES kcmautostart.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)