C_EXTENSIONS.rst 550 B

12345678910111213141516
  1. C_EXTENSIONS
  2. ------------
  3. Boolean specifying whether compiler specific extensions are requested.
  4. This property specifies whether compiler specific extensions should be
  5. used. For some compilers, this results in adding a flag such
  6. as ``-std=gnu11`` instead of ``-std=c11`` to the compile line. This
  7. property is ``ON`` by default.
  8. See the :manual:`cmake-compile-features(7)` manual for information on
  9. compile features.
  10. This property is initialized by the value of
  11. the :variable:`CMAKE_C_EXTENSIONS` variable if it is set when a target
  12. is created.