Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/unity_build/src/BuildUnitsConfigMSVC.cmake @ 8633

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

Optimised build units for MSVC too by splitting the config file in two.
Note that I had to guess the values for 8 threads, I can not (yet) test that.
Also note that the MSVC config applies to having MSVC configured to make N targets at once (leading up to possibly N*N processes). Seems stupid, is stupid, but is still the fastest when compiling Orxonox.

File size: 2.0 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_2_THREADS
27  util              1
28  core              2
29  network           1
30  tools             1
31  orxonox           2
32  designtools       1
33  notifications     1
34  objects           2
35  overlays          1
36  pickup            1
37  pong              1
38  questsystem       1
39  weapons           1
40)
41
42SET(BUILD_UNITS_CONFIG_4_THREADS
43  util              2
44  core              4
45  network           2
46  tools             2
47  orxonox           4
48  designtools       1
49  notifications     1
50  objects           2
51  overlays          2
52  pickup            1
53  pong              1
54  questsystem       2
55  weapons           2
56)
57
58SET(BUILD_UNITS_CONFIG_8_THREADS
59  util              2
60  core              8
61  network           5
62  tools             3
63  orxonox           8
64  designtools       1
65  notifications     1
66  objects           3
67  overlays          3
68  pickup            2
69  pong              1
70  questsystem       3
71  weapons           3
72)
Note: See TracBrowser for help on using the repository browser.