Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2011, 5:12:41 PM (13 years ago)
Author:
rgrieder
Message:

Disable precompiled header files for targets with a single build unit.

File:
1 edited

Legend:

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

    r8622 r8623  
    6060    # Use default
    6161    SET(_nr_of_units NR_OF_BUILD_UNITS)
     62  ENDIF()
     63
     64  # Disable precompiled header files for single unit targets
     65  IF(_nr_of_units EQUAL 1)
     66    SET(PCH_DISABLE_${_target_name} TRUE PARENT_SCOPE)
    6267  ENDIF()
    6368
Note: See TracChangeset for help on using the changeset viewer.