CMAKE_C_STANDARD

From Get docs
Cmake/docs/3.21/variable/cmake c standard


CMAKE_C_STANDARD

New in version 3.1.


Default value for C_STANDARD property of targets.

This variable is used to initialize the C_STANDARD property on all targets. See that target property for additional information.

See the cmake-compile-features(7) manual for information on compile features and a list of supported compilers.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_C_STANDARD.html