diff options
author | Yuhang Zhao <2546789017@qq.com> | 2020-11-02 12:36:14 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2020-11-02 20:06:22 +0800 |
commit | 4b694032dfe61dd9190170d15ee2edddbc9dfd7c (patch) | |
tree | 9e5d0917fd7e56d1324e0037bed13771230c73a5 /cmake/QtConfig.cmake.in | |
parent | 2b4a581f34854d9c0bb8d53626d929abd0661bd8 (diff) |
Improve clang-cl support for Qt6
1. clang-cl doesn't support "-fno-exceptions", it uses msvc's parameter.
2. some parameters supported by msvc are not supported by clang-cl
and they are causing huge warning message flood, don't add them.
3. use correct optimize parameter for clang-cl.
Change-Id: Idbadf139127143c5fa6c49068588cb26f47da7a2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtConfig.cmake.in')
0 files changed, 0 insertions, 0 deletions