Review Request 128779: Teach KDECompilerSettings about clang-cl, a mode of Clang compiler that simulates MSVC.
Gleb Popov
6yearold at gmail.com
Sat Feb 4 17:55:56 UTC 2017
> On Feb. 4, 2017, 2:05 p.m., Albert Astals Cid wrote:
> > Patch doesn't apply anymore
>
> Gleb Popov wrote:
> Is there any interest in this?
>
> Albert Astals Cid wrote:
> To be honest I don't even understand what it does from the description :D
>
> What does "simulates MSVC" mean? It compiles windows binaries from linux?
When `clang.exe` is invoked as `clang-cl.exe`, it acts just like Microsoft `cl.exe`, uses MSVC headers and native Windows runtime.
- Gleb
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128779/#review102364
-----------------------------------------------------------
On Oct. 12, 2016, 2:57 p.m., Gleb Popov wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128779/
> -----------------------------------------------------------
>
> (Updated Oct. 12, 2016, 2:57 p.m.)
>
>
> Review request for Extra Cmake Modules and kdewin.
>
>
> 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-buildsystem/attachments/20170204/d92f0afa/attachment.html>
More information about the Kde-buildsystem
mailing list