summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCompilerIdDetection.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Use string(APPEND) in ModulesDaniel Pfeifer2017-05-171-4/+4
| | | | | | | Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_\$\{\}]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* Don't include CMakeParseArgumentsDaniel Pfeifer2017-01-111-2/+0
| | | | | | | | | | | | The cmake_parse_arguments command is builtin with version 3.5. The CMakeParseArguments module is empty and exists for backwards compatibility with CMake 3.4 and lower. Remove the includes of CMakeParseArguments from CMake's modules. The modules are always used with the current version of CMake. Leave the includes in the tests, as the tests may be run with an older version of CMake.
* C# support: add compiler detection for MSVCMichael Stürmer2016-12-151-1/+1
|
* CUDA: We now properly perform CUDA compiler identification.Robert Maynard2016-11-141-0/+5
|
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Use string(APPEND) in ModulesDaniel Pfeifer2016-07-271-4/+4
| | | | | | | Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* Add support for Bruce C Compiler (BCC)Paweł Stankowski2016-03-211-0/+1
| | | | Revise C compiler detection code to be K&R compatible.
* Add support for the ARM Compiler (arm.com)Joakim Andersson2015-11-021-0/+1
| | | | | | | | 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
* Add Fujitsu compiler detectionErik Lindahl2014-08-111-0/+1
| | | | | | The Fujitsu C/C++ compilers are the default ones for K computer. Detect both native and cross compilers by looking for the __FUJITSU preprocessor definition.
* Project: Detect other compilers before detecting Clang.Stephen Kelly2014-06-131-2/+2
| | | | | | | | | | | | Commit v2.8.10.1~5^2 (Fix PathScale compiler id for Clang-based upstream, 2012-11-05) re-ordered the detection logic for PathScale. Other compiler vendors are also producing Clang-based frontends, so detect "actual" Clang as one of the last compilers to allow for others doing the same. http://llvm.org/devmtg/2014-04/PDFs/Posters/ClangIntel.pdf http://docwiki.embarcadero.com/RADStudio/XE5/en/Clang-based_C%2B%2B_Compilers
* Project: Add configurable name for version computation macros.Stephen Kelly2014-06-051-0/+2
|
* Project: Separate simulated compiler id from version detection.Stephen Kelly2014-06-051-1/+4
|
* Project: Refactor C compiler determination into multiple files.Stephen Kelly2014-05-071-9/+32
|
* CompilerId: Allow specifying a prefix for preprocessor defines.Stephen Kelly2014-05-071-8/+11
|
* CompilerId: Guard the platform-default compiler code with a parameter.Stephen Kelly2014-05-071-6/+6
|
* CompilerId: Add option to generate compiler-id-specific defines.Stephen Kelly2014-05-071-2/+12
|
* CompilerId: Allow specifying the compiler-specific components to generate.Stephen Kelly2014-05-071-2/+18
|
* Project: Split the compiler id detection into a separate function.Stephen Kelly2014-05-071-0/+99
This can be extended with parameters to control the output and re-used in other contexts.