summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeASMCompiler.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-11 15:41:01 (GMT)
committerBrad King <brad.king@kitware.com>2020-03-12 14:07:30 (GMT)
commit0d0aa98c84bca35431f4239e45956c9d24967af4 (patch)
tree1cd6da3326ef431a4075cded966d11276b3f3c7c /Modules/CMakeASMCompiler.cmake.in
parentee3ec27465a4070591e5ce6c9ba72117788bf033 (diff)
downloadCMake-0d0aa98c84bca35431f4239e45956c9d24967af4.zip
CMake-0d0aa98c84bca35431f4239e45956c9d24967af4.tar.gz
CMake-0d0aa98c84bca35431f4239e45956c9d24967af4.tar.bz2
ASM: Record vendor-specific output matched to identify assembler
For example, with GNU `as`, we match `GNU assembler`, but with GNU `gcc` as the assembler, we do not match anything. Distinguishing these cases may be useful for constructing assembler command lines.
Diffstat (limited to 'Modules/CMakeASMCompiler.cmake.in')
-rw-r--r--Modules/CMakeASMCompiler.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeASMCompiler.cmake.in b/Modules/CMakeASMCompiler.cmake.in
index b8e09fe..858c053 100644
--- a/Modules/CMakeASMCompiler.cmake.in
+++ b/Modules/CMakeASMCompiler.cmake.in
@@ -10,6 +10,7 @@ set(CMAKE_ASM@ASM_DIALECT@_COMPILER_LOADED 1)
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ID "@_CMAKE_ASM_COMPILER_ID@")
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_VERSION "@_CMAKE_ASM_COMPILER_VERSION@")
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ENV_VAR "@_CMAKE_ASM_COMPILER_ENV_VAR@")
+@_SET_CMAKE_ASM_COMPILER_ID_VENDOR_MATCH@
@_SET_CMAKE_ASM_COMPILER_ARCHITECTURE_ID@
set(CMAKE_ASM@ASM_DIALECT@_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)