CMake/Tests/RunCMake/project
Brad King 9c5238dfd6 project: Fix support for explicit RC language
The check added in commit v3.6.0-rc1~293^2 (Diagnose recursive
project/enable_language without crashing, 2016-03-07) broke support for
enabling `RC` explicitly along with other languages like `C`.  The
reason is that we enable all listed languages at once so the internal
`enable_language(RC)` that we do while enabling `C` or `CXX` on some
platforms triggers the recursion check if `RC` is explicitly listed.

Ideally we should refactor things to only enable one language at a time,
but for now it is simplest to just exclude `RC` from the explicit list
until other languages are enabled, and then enable it.

Closes: #16330
2016-09-28 10:34:57 -04:00
..
CMakeLists.txt
CMP0048-NEW-stdout.txt
CMP0048-NEW.cmake
CMP0048-OLD-stdout.txt
CMP0048-OLD-VERSION-result.txt
CMP0048-OLD-VERSION-stderr.txt
CMP0048-OLD-VERSION.cmake
CMP0048-OLD.cmake
CMP0048-WARN-stderr.txt
CMP0048-WARN.cmake
ExplicitRC.cmake project: Fix support for explicit RC language 2016-09-28 10:34:57 -04:00
LanguagesEmpty-stdout.txt
LanguagesEmpty.cmake
LanguagesImplicit-stdout.txt
LanguagesImplicit.cmake
LanguagesNONE-stdout.txt
LanguagesNONE.cmake
LanguagesTwice-result.txt
LanguagesTwice-stderr.txt
LanguagesTwice.cmake
RunCMakeTest.cmake project: Fix support for explicit RC language 2016-09-28 10:34:57 -04:00
VersionAndLanguagesEmpty-stdout.txt
VersionAndLanguagesEmpty.cmake
VersionEmpty-stdout.txt
VersionEmpty.cmake
VersionInvalid-result.txt
VersionInvalid-stderr.txt
VersionInvalid.cmake
VersionMissingLanguages-result.txt
VersionMissingLanguages-stderr.txt
VersionMissingLanguages.cmake
VersionMissingValueOkay-stdout.txt
VersionMissingValueOkay.cmake
VersionTwice-result.txt
VersionTwice-stderr.txt
VersionTwice.cmake