CMake/Tests/RunCMake/ToolchainFile
Brad King 72e0dc58d3 Diagnose recursive project/enable_language without crashing (#15999)
Calling `project()` or `enable_language()` from a toolchain file will
infinitely recurse since those commands load the toolchain file.
Diagnose and reject this case with an error message instead of crashing
when the stack eventually overflows.
2016-03-07 13:52:38 -05:00
..
CMakeLists.txt Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
CallEnableLanguage-result.txt Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
CallEnableLanguage-stderr.txt Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
CallEnableLanguage-toolchain.cmake Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
CallEnableLanguage.cmake Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
CallProject-result.txt Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
CallProject-stderr.txt Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
CallProject-toolchain.cmake Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
CallProject.cmake Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00
RunCMakeTest.cmake Diagnose recursive project/enable_language without crashing (#15999) 2016-03-07 13:52:38 -05:00