Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8626


Ignore:
Timestamp:
May 27, 2011, 7:39:36 PM (13 years ago)
Author:
rgrieder
Message:

Optimised unit builds a little

Location:
code/branches/unity_build
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/cmake/tools/BuildUnits.cmake

    r8623 r8626  
    6262  ENDIF()
    6363
    64   # Disable precompiled header files for single unit targets
    65   IF(_nr_of_units EQUAL 1)
     64  # Disable precompiled header files for targets with two or less build units
     65  IF(_nr_of_units LESS 3)
    6666    SET(PCH_DISABLE_${_target_name} TRUE PARENT_SCOPE)
    6767  ENDIF()
  • code/branches/unity_build/src/BuildUnitsConfig.cmake

    r8622 r8626  
    4343  util              1
    4444  core              4
    45   network           3
    46   tools             1
     45  network           2
     46  tools             2
    4747  orxonox           4
    4848  designtools       1
     
    5151  overlays          2
    5252  pickup            1
    53   pong              15
    54   questsystem       2
    55   weapons           2
     53  pong              1
     54  questsystem       1
     55  weapons           1
    5656)
    5757
Note: See TracChangeset for help on using the changeset viewer.