- updated to include desktop files for map editor and g3d viewer and added to make install in cmake build system

This commit is contained in:
Mark Vejvoda 2012-02-25 04:11:07 +00:00
parent 9d6607a051
commit c3e40ca1e5
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Categories=Game;StrategyGame;
Comment=MegaGlest Map Editor
Name=MegaGlest Map Editor
Icon=megaglest
Exec=megaglest_editor
Terminal=false
Type=Application

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Categories=Game;StrategyGame;
Comment=MegaGlest Model Viewer
Name=MegaGlest Model Viewer
Icon=megaglest
Exec=megaglest_g3dviewer
Terminal=false
Type=Application

View File

@ -183,6 +183,16 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
ENDIF()
# Installation of the program config and image files
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/g3dviewer.ico"
DESTINATION ${MEGAGLEST_DATA_INSTALL_PATH})
# Installation of the program desktop file
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/megaglest_g3dviewer.desktop"
DESTINATION ${MEGAGLEST_DESKTOP_INSTALL_PATH})
# Installation of the program config and image files
#INSTALL(FILES
# "${PROJECT_SOURCE_DIR}/mk/linux/glest.ini"

View File

@ -178,6 +178,15 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
ENDIF()
# Installation of the program config and image files
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/editor.ico"
DESTINATION ${MEGAGLEST_DATA_INSTALL_PATH})
# Installation of the program desktop file
NSTALL(FILES
"${PROJECT_SOURCE_DIR}/megaglest_editor.desktop"
DESTINATION ${MEGAGLEST_DESKTOP_INSTALL_PATH})
#INSTALL(FILES
# "${PROJECT_SOURCE_DIR}/mk/linux/glest.ini"
# "${PROJECT_SOURCE_DIR}/mk/linux/glestkeys.ini"