[cmake-developers] Portable STD_CXX11 target property?

Daniel Pfeifer daniel at pfeifer-mail.de
Mon Aug 20 15:17:31 EDT 2012


2012/8/20 Rolf Eike Beer <eike at sf-mail.de>:
> Stephen Kelly wrote:
>> Stephen Kelly <steveire at ...> writes:
>> > Brad King wrote:
>> > >> I have pushed a std-cxx-target-property branch to my gitorious repo to
>> > >> illustrate the idea further, but I don't think there is any way to
>> > >> specify which c++ standard to restrict to with MSVC, so the idea may
>> > >> already be useless or dead in the water.
>>
>> Bump. Should we aim to get this into CMake 2.8.10?
>
> I think we should. I've seen this at least 4 times in the last 2 weeks in
> #cmake, which makes it one of the most requested features there currently.

And while we are at turning compile flags into target properties, we
could also think about NO_WARNINGS, FULL_WARNINGS,
WARNINGS_AS_ERRORS...



More information about the cmake-developers mailing list