You need to have the following software installed on your development system:
If you are on Windows and use Windows Subsystem for Linux, consider running
the wsl-setup
script to install all necessary and some additional
software.
Create a .vscode/cmake-kits.json
file and replace the values for name
, C
and CXX
with a name for the
configuration and the paths to the Clang binaries on your system respectively.
[
{
"name": "Some Clang Configuration",
"compilers": {
"C": "/some/path/to/clang",
"CXX": "/some/path/to/clang++"
},
"preferredGenerator": {
"name": "Ninja"
}
}
]