mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
Features: Extend concept to C language.
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.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
CMAKE_C_COMPILE_FEATURES
|
||||
------------------------
|
||||
|
||||
List of features known to the C compiler
|
||||
|
||||
These features are known to be available for use with the C compiler. This
|
||||
list is a subset of the features listed in the :prop_gbl:`CMAKE_C_KNOWN_FEATURES`
|
||||
global property.
|
||||
Reference in New Issue
Block a user