summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/AppleClang-CXX.cmake
Commit message (Collapse)AuthorAgeFilesLines
* AppleClang: Remove redundant UNIX condition.Stephen Kelly2015-02-041-1/+1
|
* Features: Ensure appropriate return value from feature test macros.Stephen Kelly2015-01-151-2/+1
| | | | | | | GNU-CXX already has complex logic and sets the _result to 0 before tests which may set it to something else. Change the other modules to be consistent with that.
* Features: Record for historical Xcode clang versions.Stephen Kelly2015-01-111-2/+5
|
* Features: Record dialect flags for AppleClang 4.0+.Stephen Kelly2015-01-111-1/+4
|
* Features: Record for AppleClang 5.1Stephen Kelly2014-12-221-0/+31
| | | | | Apple's Clang 5.1 already supports most of the C and C++ features CMake enumerates.
* Avoid if() quoted auto-dereference when checking for "MSVC"Fraser Hutchison2014-11-191-1/+1
| | | | | When testing CMAKE_<LANG>_COMPILER_ID values against "MSVC", do not allow the definition of the "MSVC" variable to be expanded.
* Don't load Clang-CXX from AppleClang-CXX.Stephen Kelly2014-04-071-1/+6
| | | | | The Clang-CXX module is going to get version-specific checks, and the version system for AppleClang is not the same as Clang.
* Clang: Add separate "AppleClang" compiler idBrad King2013-10-081-0/+1
Apple distributes their own Clang build with their own version numbers that differ from upstream Clang. Use the __apple_build_version__ symbol to identify the Apple Clang compiler and report the Apple Build Version as the fourth version component in CMAKE_<LANG>_COMPILER_VERSION. Add Compiler/AppleClang-<lang> and Platform/Darwin-AppleClang-<lang> modules that simply include the upstream equivalents. Fix comparisons of CMAKE_<LANG>_COMPILER_ID to Clang in CMake's own source and tests to account for AppleClang.