Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial2/src/libraries/util/CMakeLists.txt @ 7444

Last change on this file since 7444 was 7284, checked in by landauf, 14 years ago

merged consolecommands3 branch back to trunk.

note: the console command interface has changed completely, but the documentation is not yet up to date. just copy an existing command and change it to your needs, it's pretty self-explanatory. also the include files related to console commands are now located in core/command/. in the game it should work exactly like before, except for some changes in the auto-completion.

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