Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/unity_build/src/libraries/util/CMakeLists.txt @ 8619

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

Renamed the infamous 'Compilation' to 'BuildUnit' which definitely suits better and avoids much of the general confusion.
There are no actual changes, just the renaming.

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