CMAKE_C_KNOWN_FEATURES.rst 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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 and a list of supported compilers.
  10. The features known to this version of CMake are:
  11. ``c_std_90``
  12. Compiler mode is aware of C 90.
  13. ``c_std_99``
  14. Compiler mode is aware of C 99.
  15. ``c_std_11``
  16. Compiler mode is aware of C 11.
  17. ``c_function_prototypes``
  18. Function prototypes, as defined in ``ISO/IEC 9899:1990``.
  19. ``c_restrict``
  20. ``restrict`` keyword, as defined in ``ISO/IEC 9899:1999``.
  21. ``c_static_assert``
  22. Static assert, as defined in ``ISO/IEC 9899:2011``.
  23. ``c_variadic_macros``
  24. Variadic macros, as defined in ``ISO/IEC 9899:1999``.