Review Request 128779: Teach KDECompilerSettings about clang-cl, a mode of Clang compiler that simulates MSVC.

Gleb Popov 6yearold at gmail.com
Sat Oct 8 06:41:58 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128779/
-----------------------------------------------------------

(Updated Oct. 8, 2016, 6:41 a.m.)


Status
------

This change has been marked as submitted.


Review request for Extra Cmake Modules and kdewin.


Changes
-------

Submitted with commit 4b8e8dcc8856d8f438860783e7641d02d1c05630 by Gleb Popov to branch master.


Repository: extra-cmake-modules


Description
-------

By simply using `if(CMAKE_COMPILER_ID STREQUAL "Clang")` check is not enough for clang-cl, as it turns on various '-style' flags and omits MSVC's '/style' flags.

With this patch i managed to compile much of KF5 up to konversation and kate.

Known problems: `-std=gnu++98` flag is still appended, but i wasn't able to figure out why.


Diffs
-----

  kde-modules/KDECompilerSettings.cmake dfa29f7 
  kde-modules/KDEFrameworkCompilerSettings.cmake 038ddc3 

Diff: https://git.reviewboard.kde.org/r/128779/diff/


Testing
-------


Thanks,

Gleb Popov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20161008/de2f99f8/attachment.html>


More information about the Kde-windows mailing list