Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/BuildUnitsConfigMSVC.cmake @ 8748

Last change on this file since 8748 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.4 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              1
29  network           1
30  tools             1
31  orxonox           2 # Avoids running out of symbol adresses (fix with /bigobj)
32  designtools       1
33  notifications     1
34  objects           1
35  overlays          1
36  pickup            1
37  pong              1
38  questsystem       1
39  weapons           1
40)
41
42SET(BUILD_UNITS_CONFIG_2_THREADS
43  util              1
44  core              2
45  network           1
46  tools             1
47  orxonox           2
48  designtools       1
49  notifications     1
50  objects           2
51  overlays          1
52  pickup            1
53  pong              1
54  questsystem       1
55  weapons           1
56)
57
58SET(BUILD_UNITS_CONFIG_4_THREADS
59  util              2
60  core              4
61  network           2
62  tools             2
63  orxonox           4
64  designtools       1
65  notifications     1
66  objects           2
67  overlays          2
68  pickup            1
69  pong              1
70  questsystem       2
71  weapons           2
72)
73
74SET(BUILD_UNITS_CONFIG_8_THREADS
75  util              2
76  core              8
77  network           5
78  tools             3
79  orxonox           8
80  designtools       1
81  notifications     1
82  objects           3
83  overlays          3
84  pickup            2
85  pong              1
86  questsystem       3
87  weapons           3
88)
Note: See TracBrowser for help on using the repository browser.