[CMake] Problems with CMake 3.1.0-rc3 write_compiler_detection_header

Brad King brad.king at kitware.com
Mon Dec 15 12:53:30 EST 2014


On 12/15/2014 12:38 PM, Daniel Schepler wrote:
> Why would we need specific support for each compiler?

One goal of the module is to avoid running dozens of compiler
introspection tests for every new build tree.  Compiler vendors
document support for new language features in each release.
There is a feature table where CMake memorizes the supported
features for each version.  It also knows what language-standard
flags (like -std=c++11) may be needed to activate a feature.
That can't be guessed so a lookup table is needed anyway.

-Brad



More information about the CMake mailing list