1RC
2--
3
4.. include:: ENV_VAR.txt
5
6Preferred executable for compiling ``resource`` files. Will only be used by CMake
7on the first configuration to determine ``resource`` compiler, after which the
8value for ``RC`` is stored in the cache as
9:variable:`CMAKE_RC_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration run
10(including the first), the environment variable will be ignored if the
11:variable:`CMAKE_RC_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
12
13.. note::
14  Options that are required to make the compiler work correctly can be included;
15  they can not be changed.
16
17.. code-block:: console
18
19  $ export RC="custom-compiler --arg1 --arg2"
20