Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/resource2/src/util/CMakeLists.txt @ 5614

Last change on this file since 5614 was 5610, checked in by rgrieder, 15 years ago

Improved CMake performance for runs after the first one.
There are some optimisations in the macro argument parser and I manually added the header files for util and network (since they don't change too much and it still compiles with a missing header files).

  • Property svn:eol-style set to native
File size: 1.9 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  Clipboard.cc
22  CRC32.cc
23  Exception.cc
24  ExprParser.cc
25  Math.cc
26  MultiType.cc
27  OutputBuffer.cc
28  OutputHandler.cc
29  SignalHandler.cc
30  Sleep.cc
31  StringUtils.cc
32  SubString.cc
33)
34
35SET_SOURCE_FILES(UTIL_HDR_FILES
36  CRC32.h
37  Clipboard.h
38  Convert.h
39  Debug.h
40  Exception.h
41  ExprParser.h
42  Math.h
43  MathConvert.h
44  mbool.h
45  MultiType.h
46  MultiTypeValue.h
47  OgreForwardRefs.h
48  OrxAssert.h
49  OrxEnum.h
50  OutputBuffer.h
51  OutputHandler.h
52  RefToValue.h
53  ScopeGuard.h
54  Serialise.h
55  SignalHandler.h
56  Singleton.h
57  Sleep.h
58  StringUtils.h
59  SubString.h
60  TemplateUtils.h
61  TypeTraits.h
62  UTFStringConversions.h
63  UtilPrereqs.h
64)
65
66IF(GCC_NO_SYSTEM_HEADER_SUPPORT)
67  # Get around displaying a few hundred lines of warning code
68  SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w")
69ENDIF()
70
71ORXONOX_ADD_LIBRARY(util
72  DEFINE_SYMBOL
73    "UTIL_SHARED_BUILD"
74  LINK_LIBRARIES
75    ${OGRE_LIBRARY}
76  SOURCE_FILES
77    ${UTIL_SRC_FILES} ${UTIL_HDR_FILES}
78)
Note: See TracBrowser for help on using the repository browser.