Commit b125a2ae authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: add KDE desktop stuff

parent 84cea980
[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;
...@@ -66,6 +66,15 @@ ELSE(NOT QT4_FOUND) ...@@ -66,6 +66,15 @@ ELSE(NOT QT4_FOUND)
INSTALL(TARGETS cmake-gui RUNTIME DESTINATION bin INSTALL(TARGETS cmake-gui RUNTIME DESTINATION bin
${CMAKE_INSTALL_DESTINATION_ARGS}) ${CMAKE_INSTALL_DESTINATION_ARGS})
ENDIF(CMAKE_PACKAGE_QTGUI) 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) IF(APPLE)
SET(CMAKE_POSTFLIGHT_SCRIPT SET(CMAKE_POSTFLIGHT_SCRIPT
"${CMake_BINARY_DIR}/Source/QtDialog/postflight.sh") "${CMake_BINARY_DIR}/Source/QtDialog/postflight.sh")
......
<?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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment