No description
- CMake 71.5%
- C++ 28.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| cmake | ||
| include/hello | ||
| src | ||
| tests | ||
| .clang-format | ||
| .clangd | ||
| .gitignore | ||
| CMakeLists.txt | ||
| CMakePresets.json | ||
| README.md | ||
| vcpkg-configuration.json | ||
| vcpkg.json | ||
Starter C++ template with a clang and vcpkg focus
This repo serves as a starting point for small to medium C++ projects that want to use clang tooling and the vcpkg package manager. It will be up to the user to ensure the tooling is installed correctly.
The toolchain
- Compiler: clang++
- Standard library: libc++ (except Windows)
- Linker: lld
- Build system: cmake
- Generator: Ninja-MultiConfig
Ensure these are all installed. Special care is really only needed for Linux systems.
Special notes about Windows
The presets are written to expect a winget-installed LLVM, an active dev
environment, and the environment variable VCPKG_ROOT pointing to a local
install and not Visual Studio's. Compatibility with clang-cl was attempted and
it did not go well.