Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2009, 11:53:13 AM (15 years ago)
Author:
rgrieder
Message:

Added general PCH_ENABLE option in CMake to disable PCH with one simple option (use cmake -DPCH_ENABLE=FALSE when configuring).
Also moved all build-related options to BuildConfig and moved some code around there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/TargetUtilities.cmake

    r3196 r3330  
    112112
    113113  # First part (pre target) of precompiled header files
    114   IF(PCH_COMPILER_SUPPORT AND _arg_PCH_FILE)
     114  IF(PCH_COMPILER_SUPPORT AND PCH_ENABLE AND _arg_PCH_FILE)
    115115    # Provide convenient option to control PCH
    116116    STRING(TOUPPER "${_target_name}" _target_name_upper)
Note: See TracChangeset for help on using the changeset viewer.