summaryrefslogtreecommitdiffstats
path: root/starter/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-07-16 14:07:49 +0200
committergregory guy <gregory-tde@laposte.net>2020-07-18 17:40:43 +0200
commitd0c03cc9a910ea44cea57b1af43bbd90eb86d4bc (patch)
tree3509747590af2f2833e7f387a57af763084f253e /starter/CMakeLists.txt
parent7815a4d67f1fbaaa198737a14f3aafab8f1bad61 (diff)
downloadtde-style-baghira-d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc.tar.gz
tde-style-baghira-d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc.zip
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system. Signed-off-by: gregory guy <gregory-tde@laposte.net> Resolve issues that occurred during CMake conversion. Concatenate the commands for generating pixmaps.h with CMake so that there is no need to use the GNU specific sed option -i. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'starter/CMakeLists.txt')
-rw-r--r--starter/CMakeLists.txt58
1 files changed, 58 insertions, 0 deletions
diff --git a/starter/CMakeLists.txt b/starter/CMakeLists.txt
new file mode 100644
index 0000000..1a2df3d
--- /dev/null
+++ b/starter/CMakeLists.txt
@@ -0,0 +1,58 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
+ ${X11_XTEST_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+ ${X11_LIBRARY_DIRS}
+ ${X11_XTEST_LIBRARY_DIRS}
+)
+
+
+##### baghirastarter (shared)
+
+tde_add_library( baghirastarter SHARED AUTOMOC
+
+ SOURCES
+ starterconfig.ui
+ starterhelp.ui
+ configdialog.ui
+ help.ui
+ linkconfig.ui
+ starteriface.skel
+ baghiralinkdrag.cpp
+ menu.cpp starter.cpp
+ LINK
+ tdeui-shared
+ tdecore-shared
+ tdeio-shared
+ ${X11_XTEST_LIBRARIES}
+
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons()
+
+
+##### other data
+
+install(
+ FILES ../imagebase/poof.png
+ DESTINATION ${DATA_INSTALL_DIR}/baghira
+)
+
+tde_create_translated_desktop(
+ SOURCE starter.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+)