[cmake-developers] C++11 and target_compiler_feature proposal
Stephen Kelly
steveire at gmail.com
Wed Oct 23 17:59:22 EDT 2013
Brad King wrote:
> CMAKE_CXX_COMPILER is always set to the proper full path these days,
> even in the IDE generators, so I wonder if we could actually run it
> against the header file to detect the features available for the
> current compiler instead of hard-coding a table in the platform
> information files. Then the checks would all be done in one place
> via the preprocessor and __has_feature if available.
I've implemented this and merged it to next for dashboard testing. I haven't
yet looked into how to create docs for the new WriteCompilerDetectionHeader
module.
Thanks,
Steve.
More information about the cmake-developers
mailing list