Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2009, 4:40:20 PM (15 years ago)
Author:
rgrieder
Message:

Added license text to all CMake files except to the subdirectoties of the libraries.
Also adjusted some the Find script documentation and wrote Descriptions for every file not in src/.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/cmake/FlagUtilities.cmake

    r2624 r2626  
    1 #    AddSourceFiles.cmake - CMake Module to include source files in subdirectories.
    2 #    Author: Reto '1337' Grieder (2008)
    3 #
    4 #    This program is free software; you can redistribute it and/or modify
    5 #    it under the terms of the GNU General Public License as published by
    6 #    the Free Software Foundation; either version 2 of the License, or
    7 #    (at your option) any later version.
    8 #
    9 #    This program is distributed in the hope that it will be useful,
    10 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
    11 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12 #    GNU General Public License for more details.
    13 #
    14 #    You should have received a copy of the GNU General Public License
    15 #    along with this program; if not, write to the Free Software
    16 #    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
    17 
     1 #
     2 #             ORXONOX - the hottest 3D action shooter ever to exist
     3 #                             > www.orxonox.net <
     4 #
     5 #        This program is free software; you can redistribute it and/or
     6 #         modify it under the terms of the GNU General Public License
     7 #        as published by the Free Software Foundation; either version 2
     8 #            of the License, or (at your option) any later version.
     9 #
     10 #       This program is distributed in the hope that it will be useful,
     11 #        but WITHOUT ANY WARRANTY; without even the implied warranty of
     12 #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13 #                 GNU General Public License for more details.
     14 #
     15 #   You should have received a copy of the GNU General Public License along
     16 #      with this program; if not, write to the Free Software Foundation,
     17 #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     18 #
     19 #
     20 #  Author:
     21 #    Reto Grieder
     22 #  Description:
     23 #    Sets the compiler/linker flags. After the flags you can specify more args:
     24 #    Release, Debug, RelWithDebInfo, MinSizeRel: Build configs (inclusive)
     25 #    ReleaseAll: Sets the flags of all three release builds
     26 #    CACHE: Values are witten with SET_CACHE (see above)
     27 #    FORCE: When writing to the cache, the values are set anyway
     28 #    Any variable names (like WIN32, MSVC, etc.): Condition (combined with AND)
     29 #    You can suffix the condition with a NOT if you wish
     30 #  Functions:
     31 #    [ADD/SET/REMOVE]_[COMPILER/LINKER]_FLAGS
     32 #  Caution: -If you use CACHE after calling the macro without CACHE, the value
     33 #            Will not get written unless FORCE is specified.
     34 #          - Also be aware to always specify the flags in quotes.
     35 #  Example:
     36 #    REMOVE_COMPILER_FLAGS("/Gm "asdf" -q"test -foo" CXX ReleaseAll NOT UNIX)
     37 #    This will only remove the CXX (C++) flags on a non Unix system for the
     38 #    Release, RelWithDebInfo and MinSizeRel configurations. The macros should
     39 #    be able to cope with "test -foo" that is like another flag in the string.
     40 #
    1841
    1942# Write to the cache by force, but only if the user didn't edit the value
     
    160183
    161184
    162 # Sets the compiler/linker flags. After the flags you can specify more args:
    163 # Release, Debug, RelWithDebInfo, MinSizeRel: Build configs (inclusive)
    164 # ReleaseAll: Sets the flags of all three release builds
    165 # CACHE: Values are witten with SET_CACHE (see above)
    166 # FORCE: When writing to the cache, the values are set anyway
    167 # Any variable names (like WIN32, MSVC, etc.): Condition (combined with AND)
    168 #   You can suffix the condition with a NOT if you wish
    169 
    170 # Caution: -If you use CACHE after calling the macro without CACHE, the value
    171 #           Will not get written unless FORCE is specified.
    172 #          - Also be aware to always specify the flags in quotes.
    173 
    174185# Compiler flags, additional arguments:
    175186# C, CXX: Specify a language, default is both
Note: See TracChangeset for help on using the changeset viewer.