[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdev-xdebug] /: generate X-KDevelop-Version using cmake
From: Niko Sams <niko.sams () gmail ! com>
Date: 2014-01-28 19:29:43
Message-ID: E1W8ELv-0003dj-HD () scm ! kde ! org
[Download RAW message or body]
Git commit c36a63cbd492c8402d73c190ab4e42b9f2087645 by Niko Sams.
Committed on 28/01/2014 at 19:27.
Pushed by nsams into branch 'master'.
generate X-KDevelop-Version using cmake
M +2 -2 CMakeLists.txt
R +1 -1 kdevxdebug.desktop.cmake [from: kdevxdebug.desktop - 098% similarity]
http://commits.kde.org/kdev-xdebug/c36a63cbd492c8402d73c190ab4e42b9f2087645
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c216a7..b31fb12 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -82,5 +82,5 @@ target_link_libraries(connectiontest
########### install files ###############
-
-install(FILES kdevxdebug.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+configure_file(kdevxdebug.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdevxdebug.desktop)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdevxdebug.desktop DESTINATION ${SERVICES_INSTALL_DIR})
diff --git a/kdevxdebug.desktop b/kdevxdebug.desktop.cmake
similarity index 98%
rename from kdevxdebug.desktop
rename to kdevxdebug.desktop.cmake
index 8298d4f..2082086 100644
--- a/kdevxdebug.desktop
+++ b/kdevxdebug.desktop.cmake
@@ -61,7 +61,7 @@ GenericName[x-test]=xxDebugger Frontendxx
Icon=debugger
X-KDE-Library=kdevxdebug
X-KDevelop-Category=Global
-X-KDevelop-Version=16
+X-KDevelop-Version=@KDEV_PLUGIN_VERSION@
X-KDE-PluginInfo-Name=kdevxdebug
X-KDE-PluginInfo-License=GPL
ServiceTypes=KDevelop/Plugin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic