Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/BuildUnitsConfigGCC.cmake @ 9149

Last change on this file since 9149 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.
File size: 2.1 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 #
20 #  Author:
21 #    Reto Grieder
22 #  Description:
23 #    Configures the number of build units per library
24 #
25
26SET(BUILD_UNITS_CONFIG_1_THREADS
27  util              1
28  core              2
29  network           1
30  tools             1
31  orxonox           8
32  designtools       1
33  notifications     1
34  objects           2
35  overlays          2
36  pickup            2
37  pong              1
38  questsystem       1
39  weapons           1
40)
41
42SET(BUILD_UNITS_CONFIG_2_THREADS ${BUILD_UNITS_CONFIG_1_THREADS})
43
44SET(BUILD_UNITS_CONFIG_4_THREADS
45  util              1
46  core              4
47  network           2
48  tools             2
49  orxonox           8
50  designtools       1
51  notifications     1
52  objects           2
53  overlays          2
54  pickup            1
55  pong              1
56  questsystem       1
57  weapons           1
58)
59
60SET(BUILD_UNITS_CONFIG_8_THREADS
61  util              2
62  core              8
63  network           5
64  tools             3
65  orxonox           8
66  designtools       1
67  notifications     1
68  objects           3
69  overlays          3
70  pickup            2
71  pong              1
72  questsystem       3
73  weapons           3
74)
Note: See TracBrowser for help on using the repository browser.