Add properties and variables corresponding to CXX equivalents. Add features for c_function_prototypes (C90), c_restrict (C99), c_variadic_macros (C99) and c_static_assert (C11). This feature set can be extended later. Add a <PREFIX>_RESTRICT symbol define to WriteCompilerDetectionHeader to conditionally represent the c_restrict feature.
9 lines
268 B
ReStructuredText
9 lines
268 B
ReStructuredText
CMAKE_C_STANDARD_REQUIRED
|
|
-------------------------
|
|
|
|
Default value for ``C_STANDARD_REQUIRED`` property of targets.
|
|
|
|
This variable is used to initialize the :prop_tgt:`C_STANDARD_REQUIRED`
|
|
property on all targets. See that target property for additional
|
|
information.
|