[cmake-developers] target_compile_features remaining issues
Stephen Kelly
steveire at gmail.com
Thu Apr 10 04:46:18 EDT 2014
Alex Merry wrote:
> On 28/03/14 15:16, Stephen Kelly wrote:
>> The target_compile_features topic in my clone is almost ready to merge to
>> next.
>
> Having looked through the docs for the topic, the thing that is missing
> that I'd like to see is a way (probably a variable) to specify the
> default enabled features for all targets in the project (or subdir).
I guess the idiom for that would be a add_compile_features command which
populates a COMPILE_FEATURES directory property. See the COMPILE_OPTIONS
directory and target properties for comparison.
> In fact, that's sort of what I'd expect from CMAKE_CXX_COMPILE_FEATURES,
> and I'd expect that functionality to be in something like
> CMAKE_CXX_AVAILABLE_FEATURES or something.
That seems like a fine name to me.
Thanks,
Steve.
More information about the cmake-developers
mailing list