CFLAGS.rst 551 B

12345678910111213
  1. CFLAGS
  2. ------
  3. .. include:: ENV_VAR.txt
  4. Default compilation flags to be used when compiling ``C`` files. Will only be
  5. used by CMake on the first configuration to determine ``CC`` default compilation
  6. flags, after which the value for ``CFLAGS`` is stored in the cache
  7. as :variable:`CMAKE_C_FLAGS <CMAKE_<LANG>_FLAGS>`. For any configuration run
  8. (including the first), the environment variable will be ignored if the
  9. :variable:`CMAKE_C_FLAGS <CMAKE_<LANG>_FLAGS>` variable is defined.
  10. See also :variable:`CMAKE_C_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.