[CMake] c++11 feature and cmake feature name mapping

Xi Shen davidshen84 at gmail.com
Thu Apr 14 08:05:27 EDT 2016


Hi,

I know we should use [target_compile_features][1] to enable c++11 features
in cmake. And I also found the [descriptions][2] about the features.

In my code I used the `random_device`, `default_random_engine` and
`uniform_int_distribution` which are a new features, but I could not find a
matching feature in the description.


[1]: https://cmake.org/cmake/help/v3.1/command/target_compile_features.html
[2]:
https://cmake.org/cmake/help/v3.1/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html#prop_gbl:CMAKE_CXX_KNOWN_FEATURES

Thanks,
David

-- 

Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160414/0841d7c3/attachment.html>


More information about the CMake mailing list