• Brad King's avatar
    try_compile: Add policy CMP0066 to honor CMAKE_<LANG>_FLAGS_<CONFIG> · d582c23a
    Brad King authored
    In the `try_compile` source file signature we propagate the caller's
    value of `CMAKE_<LANG>_FLAGS` into the test project.  Extend this to
    propagate `CMAKE_<LANG>_FLAGS_<CONFIG>` too instead of always using the
    default value in the test project.  This will be useful, for example, to
    allow the MSVC runtime library to be changed (e.g. `-MDd` => `-MTd`).
    However, some projects may currently depend on this not being done,
    so we need to activate the behavior using a policy.
    
    This change was originally made by commit v3.6.0-rc1~160^2 (try_compile:
    Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes, 2016-04-11) but without the
    policy and so had to be reverted during the 3.6 release candidate cycle.
    
    Fixes #16174.
    d582c23a
Name
Last commit
Last update
..
CMP0000.rst Loading commit data...
CMP0001.rst Loading commit data...
CMP0002.rst Loading commit data...
CMP0003.rst Loading commit data...
CMP0004.rst Loading commit data...
CMP0005.rst Loading commit data...
CMP0006.rst Loading commit data...
CMP0007.rst Loading commit data...
CMP0008.rst Loading commit data...
CMP0009.rst Loading commit data...
CMP0010.rst Loading commit data...
CMP0011.rst Loading commit data...
CMP0012.rst Loading commit data...
CMP0013.rst Loading commit data...
CMP0014.rst Loading commit data...
CMP0015.rst Loading commit data...
CMP0016.rst Loading commit data...
CMP0017.rst Loading commit data...
CMP0018.rst Loading commit data...
CMP0019.rst Loading commit data...
CMP0020.rst Loading commit data...
CMP0021.rst Loading commit data...
CMP0022.rst Loading commit data...
CMP0023.rst Loading commit data...
CMP0024.rst Loading commit data...
CMP0025.rst Loading commit data...
CMP0026.rst Loading commit data...
CMP0027.rst Loading commit data...
CMP0028.rst Loading commit data...
CMP0029.rst Loading commit data...
CMP0030.rst Loading commit data...
CMP0031.rst Loading commit data...
CMP0032.rst Loading commit data...
CMP0033.rst Loading commit data...
CMP0034.rst Loading commit data...
CMP0035.rst Loading commit data...
CMP0036.rst Loading commit data...
CMP0037.rst Loading commit data...
CMP0038.rst Loading commit data...
CMP0039.rst Loading commit data...
CMP0040.rst Loading commit data...
CMP0041.rst Loading commit data...
CMP0042.rst Loading commit data...
CMP0043.rst Loading commit data...
CMP0044.rst Loading commit data...
CMP0045.rst Loading commit data...
CMP0046.rst Loading commit data...
CMP0047.rst Loading commit data...
CMP0048.rst Loading commit data...
CMP0049.rst Loading commit data...
CMP0050.rst Loading commit data...
CMP0051.rst Loading commit data...
CMP0052.rst Loading commit data...
CMP0053.rst Loading commit data...
CMP0054.rst Loading commit data...
CMP0055.rst Loading commit data...
CMP0056.rst Loading commit data...
CMP0057.rst Loading commit data...
CMP0058.rst Loading commit data...
CMP0059.rst Loading commit data...
CMP0060.rst Loading commit data...
CMP0061.rst Loading commit data...
CMP0062.rst Loading commit data...
CMP0063.rst Loading commit data...
CMP0064.rst Loading commit data...
CMP0065.rst Loading commit data...
CMP0066.rst Loading commit data...
DEPRECATED.txt Loading commit data...
DISALLOWED_COMMAND.txt Loading commit data...