ASM_DIALECT.rst 867 B

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