summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCompilerIdDetection.cmake
diff options
context:
space:
mode:
authorJoakim Andersson <Joakim.Andersson@nordicsemi.no>2015-10-26 13:51:09 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-02 18:45:24 (GMT)
commit035a658f4fdc8028ff19568aa2ded8b3efa70909 (patch)
tree133d05ec37b5f5b2632111186d0bc0a52aabdc3b /Modules/CMakeCompilerIdDetection.cmake
parent74ea66850c99578d7d1665e64579279a6ff89896 (diff)
downloadCMake-035a658f4fdc8028ff19568aa2ded8b3efa70909.zip
CMake-035a658f4fdc8028ff19568aa2ded8b3efa70909.tar.gz
CMake-035a658f4fdc8028ff19568aa2ded8b3efa70909.tar.bz2
Add support for the ARM Compiler (arm.com)
Create an `ARMCC` compiler id corresponding to compilers identified and versioned by the `__ARMCC_VERSION` predefined macro. See documentation for the compilers at http://infocenter.arm.com/help/topic/com.arm.doc.set.swdev/index.html
Diffstat (limited to 'Modules/CMakeCompilerIdDetection.cmake')
-rw-r--r--Modules/CMakeCompilerIdDetection.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCompilerIdDetection.cmake b/Modules/CMakeCompilerIdDetection.cmake
index 19bcbcc..cbc0055 100644
--- a/Modules/CMakeCompilerIdDetection.cmake
+++ b/Modules/CMakeCompilerIdDetection.cmake
@@ -89,6 +89,7 @@ function(compiler_id_detection outvar lang)
MSVC
ADSP
IAR
+ ARMCC
)
if (lang STREQUAL C)
list(APPEND ordered_compilers