Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8633


Ignore:
Timestamp:
May 28, 2011, 2:49:58 AM (13 years ago)
Author:
rgrieder
Message:

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.

Location:
code/branches/unity_build/src
Files:
1 edited
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/BuildUnitsConfigMSVC.cmake

    r8632 r8633  
    2929  network           1
    3030  tools             1
    31   orxonox           8
     31  orxonox           2
    3232  designtools       1
    3333  notifications     1
    3434  objects           2
    35   overlays          2
    36   pickup            2
     35  overlays          1
     36  pickup            1
    3737  pong              1
    3838  questsystem       1
     
    4141
    4242SET(BUILD_UNITS_CONFIG_4_THREADS
    43   util              1
     43  util              2
    4444  core              4
    4545  network           2
    4646  tools             2
    47   orxonox           8
     47  orxonox           4
    4848  designtools       1
    4949  notifications     1
     
    5252  pickup            1
    5353  pong              1
    54   questsystem       1
    55   weapons           1
     54  questsystem       2
     55  weapons           2
    5656)
    5757
  • code/branches/unity_build/src/OrxonoxConfig.cmake

    r8622 r8633  
    5252    ENDIF()
    5353  ENDIF()
    54   INCLUDE(BuildUnitsConfig.cmake)
     54  IF(CMAKE_COMPILER_IS_GNU)
     55    INCLUDE(BuildUnitsConfigGCC.cmake)
     56  ELSEIF(MSVC)
     57    INCLUDE(BuildUnitsConfigMSVC.cmake)
     58  ENDIF()
    5559ENDIF()
    5660
Note: See TracChangeset for help on using the changeset viewer.