diff options
author | Brad King <brad.king@kitware.com> | 2019-02-25 09:33:25 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-25 09:33:25 -0500 |
commit | 4d337be994e56558b72a0d3e76fa218be289f226 (patch) | |
tree | f18cf7db92aeae1d824e91895e9f7279edb509c2 | |
parent | af000abbba8dd5ca0a1632a651d3bea00d1a1b43 (diff) | |
parent | be87ce43f009b3baed3afd6b024bc05bb070b7de (diff) | |
download | cmake-4d337be994e56558b72a0d3e76fa218be289f226.tar.gz |
Merge branch 'qcc-asm-detection' into release-3.14
Merge-request: !3016
-rw-r--r-- | Modules/CMakeDetermineASMCompiler.cmake | 4 | ||||
-rw-r--r-- | Modules/Compiler/QCC-ASM.cmake | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineASMCompiler.cmake b/Modules/CMakeDetermineASMCompiler.cmake index ac27f87c5f..b8c8c5d353 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}") diff --git a/Modules/Compiler/QCC-ASM.cmake b/Modules/Compiler/QCC-ASM.cmake new file mode 100644 index 0000000000..9a9935b274 --- /dev/null +++ b/Modules/Compiler/QCC-ASM.cmake @@ -0,0 +1,2 @@ +include(Compiler/QCC) +__compiler_qcc(ASM) |