summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/display
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-02-14 15:44:24 +0100
committergregory guy <g-gregory@gmx.fr>2019-02-14 15:44:24 +0100
commit7a10077e8260148faa37d5a91e76135e1341e4c1 (patch)
tree6bfabbcd9017c63c91a5ee7e2434e917906b3f55 /katapult/plugins/display
parentd165ef2d365fc582b966fbcb0bbac5223c7b02cc (diff)
downloadkatapult-7a10077e8260148faa37d5a91e76135e1341e4c1.zip
katapult-7a10077e8260148faa37d5a91e76135e1341e4c1.tar.gz
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'katapult/plugins/display')
-rw-r--r--katapult/plugins/display/CMakeLists.txt3
-rw-r--r--katapult/plugins/display/glassdisplay/CMakeLists.txt36
-rw-r--r--katapult/plugins/display/o2display/CMakeLists.txt36
-rw-r--r--katapult/plugins/display/puredisplay/CMakeLists.txt36
4 files changed, 111 insertions, 0 deletions
diff --git a/katapult/plugins/display/CMakeLists.txt b/katapult/plugins/display/CMakeLists.txt
new file mode 100644
index 0000000..4820a7f
--- /dev/null
+++ b/katapult/plugins/display/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_subdirectory( glassdisplay )
+add_subdirectory( puredisplay )
+add_subdirectory( o2display )
diff --git a/katapult/plugins/display/glassdisplay/CMakeLists.txt b/katapult/plugins/display/glassdisplay/CMakeLists.txt
new file mode 100644
index 0000000..d5fe0e0
--- /dev/null
+++ b/katapult/plugins/display/glassdisplay/CMakeLists.txt
@@ -0,0 +1,36 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}/common
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### katapult_glassdisplay (kpart)
+
+tde_add_kpart( katapult_glassdisplay AUTOMOC
+
+ SOURCES
+ glassdisplay.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ ${PROJECT_NAME}-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES katapult_glassdisplay.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/katapult/plugins/display/o2display/CMakeLists.txt b/katapult/plugins/display/o2display/CMakeLists.txt
new file mode 100644
index 0000000..4729d48
--- /dev/null
+++ b/katapult/plugins/display/o2display/CMakeLists.txt
@@ -0,0 +1,36 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}/common
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### katapult_o2display (kpart)
+
+tde_add_kpart( katapult_o2display AUTOMOC
+
+ SOURCES
+ o2display.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ ${PROJECT_NAME}-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES katapult_o2display.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/katapult/plugins/display/puredisplay/CMakeLists.txt b/katapult/plugins/display/puredisplay/CMakeLists.txt
new file mode 100644
index 0000000..114fa46
--- /dev/null
+++ b/katapult/plugins/display/puredisplay/CMakeLists.txt
@@ -0,0 +1,36 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}/common
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### katapult_puredisplay (kpart)
+
+tde_add_kpart( katapult_puredisplay AUTOMOC
+
+ SOURCES
+ puredisplay.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ ${PROJECT_NAME}-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES katapult_puredisplay.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)