https://github.com/Kitware/CMake
Revision 72e0dc58d3caf63a57975e97ce13c5dc4b38cf9b authored by Brad King on 07 March 2016, 18:31:25 UTC, committed by Brad King on 07 March 2016, 18:52:38 UTC
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.
1 parent 8256d02
History
Tip revision: 72e0dc58d3caf63a57975e97ce13c5dc4b38cf9b authored by Brad King on 07 March 2016, 18:31:25 UTC
Diagnose recursive project/enable_language without crashing (#15999)
Tip revision: 72e0dc5
File Mode Size
Doxygen
Git
GitSetup
KWIML
KWStyle
Release
Scripts
Sphinx
cmbzip2
cmcompress
cmcurl
cmexpat
cmjsoncpp
cmlibarchive
cmliblzma
cmzlib
.NoDartCoverage -rw-r--r-- 39 bytes
.gitattributes -rw-r--r-- 76 bytes
CMakeLists.txt -rw-r--r-- 1.4 KB
SetupForDevelopment.sh -rwxr-xr-x 392 bytes
cmThirdParty.h.in -rw-r--r-- 1.0 KB
cm_bzlib.h -rw-r--r-- 786 bytes
cm_curl.h -rw-r--r-- 797 bytes
cm_expat.h -rw-r--r-- 786 bytes
cm_jsoncpp_reader.h -rw-r--r-- 830 bytes
cm_jsoncpp_value.h -rw-r--r-- 826 bytes
cm_jsoncpp_writer.h -rw-r--r-- 830 bytes
cm_kwiml.h -rw-r--r-- 862 bytes
cm_libarchive.h -rw-r--r-- 898 bytes
cm_lzma.h -rw-r--r-- 787 bytes
cm_xmlrpc.h -rw-r--r-- 778 bytes
cm_zlib.h -rw-r--r-- 779 bytes

back to top