A modern development environment for cmake based C++ projects
Pre-configured with the latest tools and vs code extensions
From the root of the project
git submodule add https://github.com/OriKerer/cpp-dev-container.git .devcontainer
And simply launch the container from the remote-container extension with Remote-Containers: Reopen in container
include the cmake script in your CMakeLists.txt
include(/opt/cmake-utils/utils.cmake)
and use one of the targets:
tidy
/tidy-fix
format
/format-fix
static-analysis
cpu-profile <command> <output-path>
or use perf and flame graph (/opt/flame-graph) manually
- gcc-11
- clang-14
- cmake
- ninja
- valgrind
- gdb
- rr
- perf
- flame-graph
- clang-[format/tidy/static-analysis]
- CodeChecker
- Doxygen