Installation process using 2 package manager, Microsoft default called Winget and Scoop. Meanwhile you can still download dependencies from originals sources.
I've Been testing it in Visual Studio Code even VSCodium and Helix.
Download http://scoop.sh/:
- In Powershell Terminal (lastest version recommended)
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
2 options available below
First option programming without CMake
winget install LLVM.LLVM Microsoft.VisualStudio.BuildTools
Second optin programming with CMake
- Toolchain installation
winget install LLVM.LLVM Kitware.CMake Ninja-build.Ninja Microsoft.VisualStudio.BuildTools
- C/C++ VCPKG Package Management:
scoop bucket add main
scoop install main/vcpkg
Adding LLVM Bin in "PATH"
Open : Windows settings (Windows + i)
- Search for "environement variable"
- On System Variable > Path -> Add :
C:\Program Files\LLVM\bin
Checking if programs corectly installed
clang --version
cmake --version
vcpkg --version
ninja --version
To get started you can refer to my template repository:
Download C libraries :
Open : Visual Studio Installer
- Modify > Desktop C++
- Select : Clang for Windows
- Press download button
Enable CMake And VCPKG
Open : Visual Studio Installer
- Select : Tools for CMake
- Select : Package manager VCPKG
- Press download button
Top comments (0)