CMake/Assembler: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
(Replace content with link to new CMake community wiki)
 
(29 intermediate revisions by 12 users not shown)
Line 1: Line 1:
==Introduction==
{{CMake/Template/Moved}}
Since version 2.6.0 CMake has basic support for using assembler source files in CMake projects.
Assembler is different from other languages in that it actually is no single language, but there are many different assembler languages.
CMake supports a generic "ASM" language and specialized "ASM_XXX" languages for assembler "dialects".


Currently supported:
This page has moved [https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/languages/Assembler here].
* ASM-ATT (since 2.6.0)
* ASM_MASM (since 2.6.3)
 
==Supported Assembler Dialects==
===Generic ASM===
 
===ASM-ATT===
 
This can be used for assembler files in AT&T assembler syntax. This includes the GNU assembler gas.
* Supported assembler names: as, gas, may have toolchain specific prefix
* Supported source files extensions: .s, .S, .asm
* Involved files: CMakeASM-ATTInformation.cmake, CMakeDetermineASM-ATTCompiler.cmake, CMakeTestASM-ATTCompiler.cmake
 
===ASM_MASM===
 
This can be used for assembler files in AT&T assembler syntax. This includes the GNU assembler gas.
* Supported assembler names: ml.exe, ml64.exe
* Supported source files extensions: .asm
* Involved files: CMakeASM_MASMInformation.cmake, CMakeDetermineASM_MASMCompiler.cmake, CMakeTestASM_MASMCompiler.cmake
 
==How to add support for other assembler "dialects"==

Latest revision as of 15:40, 30 April 2018


The CMake community Wiki has moved to the Kitware GitLab Instance.

This page has moved here.