ASM_DIALECT.rst 843 B

12345678910111213141516171819202122
  1. ASM<DIALECT>
  2. ------------
  3. .. include:: ENV_VAR.txt
  4. Preferred executable for compiling a specific dialect of assembly language
  5. files. ``ASM<DIALECT>`` can be ``ASM``, ``ASM_NASM`` (Netwide Assembler),
  6. ``ASM_MASM`` (Microsoft Assembler) or ``ASM-ATT`` (Assembler AT&T).
  7. Will only be used by CMake on the first configuration to determine
  8. ``ASM<DIALECT>`` compiler, after which the value for ``ASM<DIALECT>`` is stored
  9. in the cache as
  10. :variable:`CMAKE_ASM<DIALECT>_COMPILER <CMAKE_<LANG>_COMPILER>`. For subsequent
  11. configuration runs, the environment variable will be ignored in favor of
  12. :variable:`CMAKE_ASM<DIALECT>_COMPILER <CMAKE_<LANG>_COMPILER>`.
  13. .. note::
  14. Options that are required to make the compiler work correctly can be included;
  15. they can not be changed.
  16. .. code-block:: console
  17. $ export ASM="custom-compiler --arg1 --arg2"