














C:\msys64\clang64\bin
加到PATH
open "MSYS2 CLANG64" from the Start menu.
pacman -S mingw-w64-clang-x86_64-toolchain
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-ninja
Clion bundles a version of the MinGW toolset for quick setup.
The exact version bundled is MinGW-w64 13.1
with posix threads, and seh exceptions.
把x86_64-15.2.0-release-posix-seh-ucrt-rt_v13-rev0.7z覆盖到
<CLion-HOME>\bin\mingw
Go to Settings | Build, Execution, Deployment | Toolchains and create a MinGW toolchain
Set the Toolset to C:\msys64\clang64. Set other paths manually in case they are not detected automatically.

把LLVM, CMAKE, ninja 加入到 Path中
About: clang-cl is an alternative command-line interface to Clang,
designed for compatibility with the Visual C++ compiler, cl.exe.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。