Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Optimised unit builds a little

File:
1 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()
Note: See TracChangeset for help on using the changeset viewer.