[cmake-developers] target_compile_features remaining issues

Alex Merry alex.merry at kde.org
Thu Apr 10 15:14:35 EDT 2014


On 10/04/14 09:46, Stephen Kelly wrote:
> 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.

Yep, that would work.

Alex




More information about the cmake-developers mailing list