Skip to content

CMake compilation and C/C++ standards

CMake is compiled in various environments with various compilers.

To ensure this, it seems reasonable to follow the C++ and C languages standard to ensure maximum portability. But, currently, compiler extensions are activated which is, IMHO, controrary to this goal.

For example, for GNU or Clang, flag -std=gnu++17 is used rather than -std=c++17 which is required to ensure strict standard respect.

The CMake root CMakeLists.txt as well as the bootstrap utility must be changed to ensure strict standard respect.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information