Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/libraries/util/CMakeLists.txt @ 7226

Last change on this file since 7226 was 7226, checked in by rgrieder, 14 years ago

Visual Studio 2005 doesn't cope too well with windows includes when it comes to order…

  • Property svn:eol-style set to native
File size: 1.8 KB
RevLine 
[2710]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
[3196]20SET_SOURCE_FILES(UTIL_SRC_FILES
[7226]21  Clock.cc
[5929]22  Exception.cc
[7226]23  ExprParser.cc
[5929]24  Math.cc
25  MultiType.cc
26  Scope.cc
27  StringUtils.cc
28COMPILATION_BEGIN StableCompilation.cc
[5781]29  Clipboard.cc
[7163]30  Convert.cc
[1751]31  CRC32.cc
[1747]32  OutputHandler.cc
[2087]33  SignalHandler.cc
[2773]34  Sleep.cc
[1505]35  SubString.cc
[5929]36COMPILATION_END
[1505]37)
38
[2710]39IF(GCC_NO_SYSTEM_HEADER_SUPPORT)
40  # Get around displaying a few hundred lines of warning code
41  SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w")
42ENDIF()
[6503]43IF(MSVC)
44  # Simply using #pragma warning(disable:4244) doesn't really disable it
45  # if the warning occurs in a template in another file
46  # Hence promote it manually to a higher warning level (4)
47  SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w44244")
48ENDIF()
[1505]49
[3196]50ORXONOX_ADD_LIBRARY(util
[5749]51  FIND_HEADER_FILES
[3196]52  LINK_LIBRARIES
[5747]53    ${CEGUI_LIBRARY}
[3196]54    ${OGRE_LIBRARY}
55  SOURCE_FILES
[5749]56    ${UTIL_SRC_FILES}
[3196]57)
Note: See TracBrowser for help on using the repository browser.