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.


-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to