C++ is used for low-level programming as an alternative to Rust.
Install mingw (or Build Tools for Visual Studio) and Conan. Python is needed to install Conan.
uv tool install conan
conan profile detect
profiles/default
mkdir <name>
cd <name>
conan new cmake_lib -d name=<name> # or
conan new cmake_exe -d name=<name>
During project initialization, add:
conan new cmake_lib -d name=<name> -d requires=<dep1>/<version> -d requires=<dep2>/<version> -d tool_requires=<dep3>/<version> -d tool_requires=<dep4>/<version>
tool_requires is dev dependences.
Doxygen has a broken build, so use global install instead.
conan install . --build=missing
conan install . -s build_type=Debug --build=missing
doxygen -g
VS Code Debugger
VS Code CMake Build
doxygen
After upgrading, run:
conan cache clean