[Cmake-commits] [cmake-commits] hoffman committed CMake.desktop NONE 1.1 CMakeLists.txt 1.15 1.16 cmakecache.xml NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Mar 11 17:27:43 EDT 2008


Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv21132

Modified Files:
	CMakeLists.txt 
Added Files:
	CMake.desktop cmakecache.xml 
Log Message:
ENH: add KDE desktop stuff


--- NEW FILE: CMake.desktop ---
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=CMake
Comment=Cross-platform buildsystem
Exec=cmake-gui %f
Icon=CMakeSetup.png
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=Application;Development;
StartupNotify=true
MimeType=application/x-cmakecache;

Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/CMakeLists.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -C 2 -d -r1.15 -r1.16
*** CMakeLists.txt	19 Feb 2008 19:26:20 -0000	1.15
--- CMakeLists.txt	11 Mar 2008 21:27:41 -0000	1.16
***************
*** 67,70 ****
--- 67,79 ----
      ${CMAKE_INSTALL_DESTINATION_ARGS})
    ENDIF(CMAKE_PACKAGE_QTGUI)
+ 
+   IF(UNIX)
+     # install a desktop file so CMake appears in the application start menu
+     # with an icon
+     INSTALL(FILES CMake.desktop DESTINATION share/applications )
+     INSTALL(FILES CMakeSetup.png DESTINATION share/pixmaps )
+     INSTALL(FILES cmakecache.xml DESTINATION share/mime/packages )
+   ENDIF(UNIX)
+ 
    IF(APPLE)
      SET(CMAKE_POSTFLIGHT_SCRIPT

--- NEW FILE: cmakecache.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/x-cmakecache">
    <comment>CMake cache file</comment>
    <glob pattern="CMakeCache.txt"/>
    <sub-class-of type="text/plain"/>
  </mime-type>
</mime-info>



More information about the Cmake-commits mailing list