CMAKE_C_KNOWN_FEATURES.rst 861 B

1234567891011121314151617181920212223242526
  1. CMAKE_C_KNOWN_FEATURES
  2. ----------------------
  3. List of C features known to this version of CMake.
  4. The features listed in this global property may be known to be available to the
  5. C compiler. If the feature is available with the C compiler, it will
  6. be listed in the :variable:`CMAKE_C_COMPILE_FEATURES` variable.
  7. The features listed here may be used with the :command:`target_compile_features`
  8. command. See the :manual:`cmake-compile-features(7)` manual for information on
  9. compile features.
  10. The features known to this version of CMake are:
  11. ``c_function_prototypes``
  12. Function prototypes, as defined in ``ISO/IEC 9899:1990``.
  13. ``c_restrict``
  14. ``restrict`` keyword, as defined in ``ISO/IEC 9899:1999``.
  15. ``c_static_assert``
  16. Static assert, as defined in ``ISO/IEC 9899:2011``.
  17. ``c_variadic_macros``
  18. Variadic macros, as defined in ``ISO/IEC 9899:1999``.