2e1c6d29486c0f9118413c561fce6a720a9c4ab4
[platform/upstream/cmake.git] / Help / envvar / ASM_DIALECTFLAGS.rst
1 ASM<DIALECT>FLAGS
2 -----------------
3
4 .. include:: ENV_VAR.txt
5
6 Default compilation flags to be used when compiling a specific dialect of an
7 assembly language. ``ASM<DIALECT>FLAGS`` can be ``ASMFLAGS``, ``ASM_NASMFLAGS``,
8 ``ASM_MASMFLAGS`` or ``ASM-ATTFLAGS``. Will only be used by CMake on the
9 first configuration to determine ``ASM_<DIALECT>`` default compilation
10 flags, after which the value for ``ASM<DIALECT>FLAGS`` is stored in the cache
11 as ``CMAKE_ASM<DIALECT>_FLAGS <CMAKE_<LANG>_FLAGS>``.  For any configuration
12 run (including the first), the environment variable will be ignored, if the
13 ``CMAKE_ASM<DIALECT>_FLAGS <CMAKE_<LANG>_FLAGS>`` variable is defined.
14
15 See also :variable:`CMAKE_ASM<DIALECT>_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.