[Orxonox-commit 3411] r8098 - in code/branches/kicklib: . contrib
rgrieder at orxonox.net
rgrieder at orxonox.net
Sun Mar 20 19:03:00 CET 2011
Author: rgrieder
Date: 2011-03-20 19:03:00 +0100 (Sun, 20 Mar 2011)
New Revision: 8098
Added:
code/branches/kicklib/contrib/CMakeLists.txt
Modified:
code/branches/kicklib/CMakeLists.txt
Log:
Added CMakeLists.txt stub for the installation of files in contrib/
Modified: code/branches/kicklib/CMakeLists.txt
===================================================================
--- code/branches/kicklib/CMakeLists.txt 2011-03-20 17:49:20 UTC (rev 8097)
+++ code/branches/kicklib/CMakeLists.txt 2011-03-20 18:03:00 UTC (rev 8098)
@@ -137,5 +137,8 @@
# Configure the binary output directory. Do this after src!
ADD_SUBDIRECTORY(bin)
+# System specific files (mostly for installation)
+ADD_SUBDIRECTORY(contrib)
+
# Last but not least: Try to make a doc target with Doxygen
ADD_SUBDIRECTORY(doc)
Added: code/branches/kicklib/contrib/CMakeLists.txt
===================================================================
--- code/branches/kicklib/contrib/CMakeLists.txt (rev 0)
+++ code/branches/kicklib/contrib/CMakeLists.txt 2011-03-20 18:03:00 UTC (rev 8098)
@@ -0,0 +1,30 @@
+ #
+ # ORXONOX - the hottest 3D action shooter ever to exist
+ # > www.orxonox.net <
+ #
+ # This program is free software; you can redistribute it and/or
+ # modify it under the terms of the GNU General Public License
+ # as published by the Free Software Foundation; either version 2
+ # of the License, or (at your option) any later version.
+ #
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License along
+ # with this program; if not, write to the Free Software Foundation,
+ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ #
+ #
+ # Author:
+ # Reto Grieder
+ # Description:
+ # Installs system specific files
+ #
+
+IF(UNIX AND NOT APPLE)
+ INSTALL(FILES orxonox.desktop DESTINATION /usr/share/applications)
+ #INSTALL(FILES orxonox.manpage.xml DESTINATION /usr/man)
+ INSTALL(FILES orxonox.svg DESTINATION /usr/share/icons/hicolor/scalable)
+ENDIF()
More information about the Orxonox-commit
mailing list