D24841: Use modern way to set the C/CXX standad

Hannah von Reth noreply at phabricator.kde.org
Mon Oct 21 20:07:22 BST 2019


vonreth added a comment.


  In D24841#551653 <https://phabricator.kde.org/D24841#551653>, @chehrlic wrote:
  
  > I would also use CMAKE_CXX_STANDARD_REQUIRED to make sure the compiler actually *can* c++11, otherwise the flag is only added when the compiler supports it. Should not make much difference nowadays but since it's in ECM...
  
  
  Good point.
  I also tried to investigate the supported C standard by msvc, they say C99 is there but still incomplete.

REPOSITORY
  R240 Extra CMake Modules

REVISION DETAIL
  https://phabricator.kde.org/D24841

To: vonreth, dfaure, cullmann
Cc: chehrlic, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191021/0378f72d/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list