summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineASMCompiler.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Add more regex for gcc, always print the ASM compiler IDAlex Neundorf2011-03-011-7/+8
| | | | | | Now gcc is also recognized via "Free Software Foundation" Alex
* It's ELSEIF(), not ELSIF()Alex Neundorf2011-03-011-1/+1
| | | | Alex
* Fix bad comparison in the detect assembler-codeAlex Neundorf2011-03-011-4/+4
| | | | | | (there was a if("${CMAKE_C_COMPILER}") instead of if(CMAKE_C_COMPILER) ) Alex
* Add support for ASm for the HP compiler.Alex Neundorf2011-02-231-0/+4
| | | | Alex
* Add suport for ASM for the IBM XL compilerAlex Neundorf2011-02-231-0/+4
| | | | Alex
* Add support for ASM for the SunPro compilerAlex Neundorf2011-02-231-0/+4
| | | | Alex
* Add ASM support for the Intel compilerAlex Neundorf2011-02-231-0/+4
| | | | Alex
* Rework the way assembler is handled, use the C/CXX compiler by defaultAlex Neundorf2011-01-301-7/+50
| | | | | | | | | | | | | | | This commit changes the way how the assembler support works in cmake. The language "ASM" now always uses the C/Cxx compiler instead of the assembler directly. This fixes #8392, assembler files are not preprocessed. If one wants to use the assembler directly, the specific assembler "dialect" has to be enabled. I.e. to get as/gas, you have to use now ASM-ATT, the same way for ASM_MASM and ASM_NASM. Implemented this now for gcc. SunStudio, IBM, HP and Intel still todo. Alex
* Fix parsing of compiler name with a version numberAlex Neundorf2011-01-261-3/+4
| | | | | | | This fixes #11679, the toolchain prefix was not correctly detected for arm-eabi-gcc-4.5.2 Alex
* Recognize the Texas Instruments DSP compiler (#11645)Wojciech Migda2010-12-281-0/+3
| | | | | | | | | | | | The TI DSP compiler predefines "__TI_COMPILER_VERSION__". Use this to identify the C and C++ compilers. For assembler language the C compiler executable is used: $ cl6x -h TMS320C6x C/C++ Compiler v6.1.11 Tools Copyright (c) 1996-2009 Texas Instruments Incorporated Use this command-line option and output to recognize the assembler.
* Include CMakeDetermineCompilerId in CMakeDetermineASMCompiler.cmake (#11467)Alex Neundorf2010-11-171-0/+1
| | | | | | | | | CMakeDetermineASMCompiler.cmake relied on that somebody else (usually during enabling C or CXX) already included that file, and broke if that was not the case. Thanks to Louis for the patch Alex
* Detect a COMPILER_ID also for ASM.Alex Neundorf2010-08-151-0/+19
| | | | | | | | | | | | | | | For assembler, the "compiler ID" cannot be detected by "compiling" a source file, since there is not source file all assemblers understand. Instead the function CMAKE_DETERMINE_COMPILER_ID_VENDOR() is used to run the assembler and check its output. For this the CMAKE_DETERMINE_COMPILER_ID_VENDOR() function had to be extended so that it creates the run directory if it doesn't exist yet. In CMakeASMInformation.cmake now also CMAKE_ASM_COMPILER_ID is used (but there are no such files yet, will come with the support for the IAR toolchain). Alex
* Remove trailing spacesAlex Neundorf2010-08-151-5/+5
| | | | Alex
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+14
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* Correct comments and use ASM${ASM_DIALECT} env. var instead of ASM env. var ↵Alexander Neundorf2009-09-261-5/+5
| | | | | | to initialize the the assembler to use. Alex
* ENH: add support for the MS masm and masm64 assemblers, works with nmake,Alexander Neundorf2008-11-051-1/+1
| | | | | | not (yet) with the Visual Studio generators Alex
* BUG: make the toolchain-prefix recognition work with prefixes which containAlexander Neundorf2008-05-151-7/+10
| | | | | | | dots (as in arm-unknown-nto-qnx6.3.0-gcc.exe), NAME_WE returns only up to the 6, instead of everything in front of the .exe Alex
* BUG: fix handling of assembler executable (with path) #6858Alexander Neundorf2008-04-211-3/+2
| | | | Alex
* ENH: initial support for assembler in cmake, needs testing by our usersAlexander Neundorf2007-06-281-0/+78
Alex