A self learning repo regarding docker usage, including development, CI, and deployment.
Additional versions of the compiler will be added in the future. These two are the one I'm using for my own project recently.
- gcc: 13 on bookworm
- clang: 17 on bookworm
These tools will be kept as up-to-date as possible
- cmake: build system generator
- ninja: build system
- ccache: compiler cache
- mold: linker
- conan: c++ package manager
To use clang's stl implementation, remember to compile the code with libc++, by specifying build flag:
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT ANDROID)
add_compile_options(-stdlib=libc++)
add_link_options(-stdlib=libc++)
endif()
- Including more tools, such as clang-tidy, iwyu, cppcheck (?)