Tests/RunCMake/GeneratorExpression/CMP0199-NEW.cmake
raw| 1 | project(test-CMP0199-NEW C) |
| 2 | |
| 3 | cmake_policy(SET CMP0199 NEW) |
| 4 | |
| 5 | # Note: Under CMP0199 OLD, CMake (incorrectly) selects the RELEASE |
| 6 | # configuration for the mapped config test. The CMP0199-NEW+CMP0200-NEW tests |
| 7 | # the combination of fixes. |
| 8 | cmake_policy(SET CMP0200 OLD) |
| 9 | |
| 10 | include(CMP0199-cases.cmake) |
| 11 | |
| 12 | do_mapped_config_test(EXPECT_RELEASE) |