ASM_DIALECT.rst 907 B

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