Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.07 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.07 KB

Docker

A self learning repo regarding docker usage, including development, CI, and deployment.

Compiler used

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

Tool used

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

Some notes

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()

TODO

  1. Including more tools, such as clang-tidy, iwyu, cppcheck (?)

Reference