diff options
author | Brad King <brad.king@kitware.com> | 2019-02-26 15:42:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-02-26 15:42:31 (GMT) |
commit | 30fc5ecf239d4900d8131b7c0933ff4a1d57be80 (patch) | |
tree | 24c5f201175b7654715338cf4ad41fe4bb43be12 /Modules/CMakeDetermineASMCompiler.cmake | |
parent | 7c292b37cfb28407f7716c63561c8ff7f0dc5540 (diff) | |
parent | be87ce43f009b3baed3afd6b024bc05bb070b7de (diff) | |
download | CMake-30fc5ecf239d4900d8131b7c0933ff4a1d57be80.zip CMake-30fc5ecf239d4900d8131b7c0933ff4a1d57be80.tar.gz CMake-30fc5ecf239d4900d8131b7c0933ff4a1d57be80.tar.bz2 |
Merge topic 'qcc-asm-detection'
be87ce43f0 Add ASM Compiler detection for QCC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Bartosz <gang65@poczta.onet.pl>
Merge-request: !3016
Diffstat (limited to 'Modules/CMakeDetermineASMCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineASMCompiler.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineASMCompiler.cmake b/Modules/CMakeDetermineASMCompiler.cmake index ac27f87..b8c8c5d 100644 --- a/Modules/CMakeDetermineASMCompiler.cmake +++ b/Modules/CMakeDetermineASMCompiler.cmake @@ -110,6 +110,10 @@ if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_ADSP "-version") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_ADSP "Analog Devices") + list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS QCC) + set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_QCC "-V") + set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_QCC "gcc_nto") + include(CMakeDetermineCompilerId) set(userflags) CMAKE_DETERMINE_COMPILER_ID_VENDOR(ASM${ASM_DIALECT} "${userflags}") |