2013-11-04 04:15:43 +04:00
|
|
|
C_EXTENSIONS
|
|
|
|
------------
|
|
|
|
|
|
|
|
Boolean specifying whether compiler specific extensions are requested.
|
|
|
|
|
|
|
|
This property specifies whether compiler specific extensions should be
|
|
|
|
used. For some compilers, this results in adding a flag such
|
2014-05-30 17:03:45 +04:00
|
|
|
as ``-std=gnu11`` instead of ``-std=c11`` to the compile line. This
|
2016-06-25 15:23:56 +03:00
|
|
|
property is ``ON`` by default. The basic C standard level is
|
|
|
|
controlled by the :prop_tgt:`C_STANDARD` target property.
|
2014-05-22 11:41:13 +04:00
|
|
|
|
2014-03-19 02:50:18 +04:00
|
|
|
See the :manual:`cmake-compile-features(7)` manual for information on
|
2015-04-07 21:10:50 +03:00
|
|
|
compile features and a list of supported compilers.
|
2014-03-19 02:50:18 +04:00
|
|
|
|
2014-05-22 11:41:13 +04:00
|
|
|
This property is initialized by the value of
|
|
|
|
the :variable:`CMAKE_C_EXTENSIONS` variable if it is set when a target
|
|
|
|
is created.
|