Re: [cmake-developers] how does target_compile_features() test the c++11 conformance?

2017-06-29 Thread Chuck Atkins
Hi Claus, how does target_compile_features() test the c++11 conformance? > It doesn't. The language features supported by different compilers and thier various versions is basically a manually constructed whitelist since testing for them at configure time is far too costly. You can see the

[cmake-developers] how does target_compile_features() test the c++11 conformance?

2017-06-29 Thread Claus Klein
Hi, I am using cmake V3.8.2 and VS 2013 and work with a c++11 library. Wenn I use this, no error message is seen: target_compile_features(${targetname} PRIVATE cxx_std_11) # OK But wenn I use this most features are missing: target_compile_features(${targetname} PRIVATE