bc43cb212ce6f3e45b7da3f53facb00b11ec9ac3
[platform/upstream/cmake.git] / Help / envvar / RCFLAGS.rst
1 RCFLAGS
2 -------
3
4 .. include:: ENV_VAR.txt
5
6 Default compilation flags to be used when compiling ``resource`` files. Will
7 only be used by CMake on the first configuration to determine ``resource``
8 default compilation flags, after which the value for ``RCFLAGS`` is stored in
9 the cache as :variable:`CMAKE_RC_FLAGS <CMAKE_<LANG>_FLAGS>`. For any
10 configuration run (including the first), the environment variable will be ignored
11 if the :variable:`CMAKE_RC_FLAGS <CMAKE_<LANG>_FLAGS>` variable is defined.
12
13 See also :variable:`CMAKE_RC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.