Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/CMakeLists.txt @ 8832

Last change on this file since 8832 was 8729, checked in by rgrieder, 13 years ago

Merged unity_build branch back to trunk.

Features:

  • Implemented fully automatic build units to speed up compilation if requested
  • Added DOUT macro for quick debug output
  • Activated text colouring in the POSIX IOConsole
  • DeclareToluaInterface is not necessary anymore

Improvements:

  • Output levels now change appropriately when switch back and forth from dev mode
  • Log level for the file output is now also correct during startup
  • Removed some header file dependencies in core and tools to speed up compilation

no more file for command line options

  • Improved util::tribool by adapting some concepts from boost::tribool

Regressions:

  • It is not possible anymore to specify command line arguments in an extra file because we've got config values for that purpose.
  • Property svn:eol-style set to native
File size: 2.2 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
20INCLUDE_DIRECTORIES(
21  ${CMAKE_SOURCE_DIR}/src/libraries
22  ${CMAKE_CURRENT_SOURCE_DIR}
23)
24
25SET_SOURCE_FILES(ORXONOX_SRC_FILES
26  Level.cc
27  LevelInfo.cc
28  LevelManager.cc
29  Main.cc
30  MoodManager.cc
31  PawnManager.cc
32  PlayerManager.cc
33  Radar.cc
34  ChatHistory.cc
35  ChatInputHandler.cc
36#  Test.cc
37
38BUILD_UNIT SceneBuildUnit.cc
39  CameraManager.cc
40  Scene.cc
41END_BUILD_UNIT
42)
43
44ADD_SUBDIRECTORY(collisionshapes)
45ADD_SUBDIRECTORY(controllers)
46ADD_SUBDIRECTORY(gamestates)
47ADD_SUBDIRECTORY(gametypes)
48ADD_SUBDIRECTORY(graphics)
49ADD_SUBDIRECTORY(infos)
50ADD_SUBDIRECTORY(interfaces)
51ADD_SUBDIRECTORY(items)
52ADD_SUBDIRECTORY(overlays)
53ADD_SUBDIRECTORY(pickup)
54ADD_SUBDIRECTORY(sound)
55ADD_SUBDIRECTORY(weaponsystem)
56ADD_SUBDIRECTORY(worldentities)
57
58ORXONOX_ADD_LIBRARY(orxonox
59  FIND_HEADER_FILES
60  TOLUA_FILES
61    ChatInputHandler.h
62    LevelInfo.h
63    LevelManager.h
64    MoodManager.h
65    controllers/HumanController.h
66    infos/PlayerInfo.h
67    sound/SoundManager.h
68  PCH_FILE
69    OrxonoxPrecompiledHeaders.h
70  LINK_LIBRARIES
71    ${OGRE_LIBRARY}
72    ${CEGUI}
73    ${LUA5.1_LIBRARY}
74    ${CEGUI_TOLUA_LIBRARY}
75    ${OPENAL_LIBRARY}
76    ${ALUT_LIBRARY}
77    ${OGG_LIBRARY}
78    ${VORBIS_LIBRARY}
79    ${VORBISFILE_LIBRARY}
80    tinyxml_orxonox
81    bullet_orxonox
82    util
83    core
84    network
85    tools
86  SOURCE_FILES
87    ${ORXONOX_SRC_FILES}
88)
Note: See TracBrowser for help on using the repository browser.