Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10111 was 9765, checked in by bknecht, 11 years ago

util lib didn't link without boost-system. Error did occur in MultiType.cc.

  • Property svn:eol-style set to native
File size: 1.5 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  Scope.cc
29  ScopedSingletonManager.cc
30  SharedPtr.cc
31  Sleep.cc
32  SmallObjectAllocator.cc
33  SubString.cc
34END_BUILD_UNIT
35
36  MultiType.cc
37  Exception.cc
38  Math.cc
39  SignalHandler.cc
40  StringUtils.cc
41)
42
43ADD_SUBDIRECTORY(output)
44
45ORXONOX_ADD_LIBRARY(util
46  FIND_HEADER_FILES
47  LINK_LIBRARIES
48    ${CEGUI_LIBRARY}
49    ${OGRE_LIBRARY}
50    ${Boost_SYSTEM_LIBRARY}
51  SOURCE_FILES
52    ${UTIL_SRC_FILES}
53)
54
55IF (DBGHELP_FOUND)
56  TARGET_LINK_LIBRARIES(util ${DBGHELP_LIBRARY})
57ENDIF()
Note: See TracBrowser for help on using the repository browser.