summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Features: Fix GNU 4.4 and 4.5 C standard level flagsBrad King2015-01-211-3/+10
| | | | | The C90 flags were only the "89" versions until GNU 4.5. The C11 flags were not introduced until GNU 4.6.
* Features: Record for GNU 4.4.Stephen Kelly2015-01-184-13/+11
|
* Features: Remove outdated comment.Stephen Kelly2015-01-171-1/+0
|
* Merge topic 'GNU-4.6-compile-features'Brad King2015-01-168-29/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 770ba876 Help: Add notes for topic 'GNU-4.6-compile-features' b15c008f Features: Record for GNU 4.6. f13a2eb1 Features: Adjust the RunCMake test to use more-common features. 1f19ac4d Features: Adjust cxx_variadic_templates unit test for GNU < 4.7. 0798d1e5 Features: Extend the generalized_initializers test for GNU < 4.7. 938bd94e Features: Test __GXX_EXPERIMENTAL_CXX0X__ macro for GNU < 4.7 compatibility. 462c630b Features: Don't test __cplusplus value for CXX98 on GNU. 222ec86f Features: Test an old value of __STDC_VERSION__ for GNU < 4.7 compatibility. 6e909035 Features: Record C/CXX dialect flags for GNU 4.6. bfc995cc Features: Remove wrong content from else() condition. 1532b921 Features: Make cxx_noexcept available from GNU 4.6. 1f4649e6 Features: Update the default_dialect test for old GNU-like compilers. a60027a6 Features: Ensure appropriate return value from feature test macros.
| * Features: Record for GNU 4.6.Stephen Kelly2015-01-154-6/+6
| | | | | | | | | | Adjust the CompileFeatures genex_test for the expectation of the OVERRIDE_CONTROL feature group.
| * Features: Test __GXX_EXPERIMENTAL_CXX0X__ macro for GNU < 4.7 compatibility.Stephen Kelly2015-01-151-7/+12
| |
| * Features: Don't test __cplusplus value for CXX98 on GNU.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | The macro is defined to 1 for GNU 4.6, and such a test is only useful for features in language dialects newer than the default (CXX98 for GNU currently). Test only that it has a truthy value.
| * Features: Test an old value of __STDC_VERSION__ for GNU < 4.7 compatibility.Stephen Kelly2015-01-151-1/+6
| |
| * Features: Record C/CXX dialect flags for GNU 4.6.Stephen Kelly2015-01-152-2/+10
| | | | | | | | This release was prior to standardization of C11/CXX11.
| * Features: Remove wrong content from else() condition.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | As this is not elseif(), the content has no effect. Rather than changing it to an elseif(), remove the conditional content. All versions of GNU prior to 5.0 default to C90/89. Clang-C.cmake has a similar code block which correctly uses elseif() for setting the default C dialect to C99. That may have been updated from a C90 default at some point, so leave the version condition there in place for now.
| * Features: Make cxx_noexcept available from GNU 4.6.Stephen Kelly2015-01-151-1/+1
| | | | | | | | As listed in the reference document.
| * Features: Ensure appropriate return value from feature test macros.Stephen Kelly2015-01-156-12/+5
| | | | | | | | | | | | | | 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.
* | Merge topic 'fix-qcc-compiler-id'Brad King2015-01-163-3/+3
|\ \ | | | | | | | | | | | | 9c9bc712 QNX: Fix detection of QCC compiler id (#15349)
| * | QNX: Fix detection of QCC compiler id (#15349)Brad King2015-01-143-3/+3
| | | | | | | | | | | | | | | | | | | | | In commit v3.1.0-rc1~113^2 (Use a more reliable regex for extracting binary INFO strings, 2014-09-03) the matching of INFO: strings was made more strict and no longer matches just "INFO:qnxnto". Use "INFO:qnxnto[]" instead to conform to the new pattern.
* | | Help: Add notes for topic 'ExternalData-custom-download'Brad King2015-01-151-0/+2
| | |
* | | ExternalData: Add support for custom download scriptsBrad King2015-01-152-1/+105
| | | | | | | | | | | | | | | | | | | | | | | | Add support for a special URL template to map the fetch operation to a project-specified .cmake script insead of using file(DOWNLOAD). Extend the Module.ExternalData test to cover the behavior. Extend the RunCMake.ExternalData test to cover error cases.
* | | ExternalData: Improve documentation organizationBrad King2015-01-151-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move the basic DATA{} description to a section just before the file series description. Move all sections on referencing files into subsections of a common "Referencing Files" section. Subsume example usage into the introduction since it gives a high-level starting point to understand the rest of the docs.
* | | ExternalData: Re-order documentationBrad King2015-01-151-97/+97
| | | | | | | | | | | | | | | | | | Put example usage just after the intro. Put hash algos last. Put variables right after functions since they both cover the module API.
* | | ExternalData: Document all variables defined by moduleBrad King2015-01-151-5/+21
| | | | | | | | | | | | | | | Extend the "Module Variables" section to list variables previously mentioned only in text.
* | | ExternalData: Split documentation into sectionsBrad King2015-01-151-67/+111
| | | | | | | | | | | | Also explicitly mark functions and variables.
* | | ExternalData: Convert docs to a bracket commentBrad King2015-01-151-184/+185
| |/ |/| | | | | | | Use a bracket comment to hold the documentation instead of a block of line comments. This will make further updates easier.
* | Merge topic 'FindGit-local-Github'Brad King2015-01-151-0/+4
|\ \ | | | | | | | | | | | | | | | ff880ece Help: Add notes for topic 'FindGit-local-Github' 54690624 FindGit: Search in 'GitHub for Windows' user directory
| * | FindGit: Search in 'GitHub for Windows' user directoryFrank Park2015-01-131-0/+4
| | |
* | | Merge topic 'Apple-compiler-selection'Brad King2015-01-151-8/+23
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | da928d30 Help: Add notes for topic 'Apple-compiler-selection' 1f085e11 OS X: Resolve compiler in /usr/bin to that reported by Xcode xcrun 85d31735 CMakeDetermineCompiler: Factor out xcrun invocation into a macro
| * | | OS X: Resolve compiler in /usr/bin to that reported by Xcode xcrunStephen Kelly2015-01-141-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compiler in the PATH on mac is a stub for a different delegate depending on the environment. Rather than requiring xcode-select to change the used Xcode globally, users should be able to choose the compiler per-session. That is possible with the DEVELOPER_DIR environment variable. However, the environment can change between running CMake and invoking the build. In such cases, CMake prefers to record the relevant paths from the environment and use them when invoking the build. That is not currently done for the compilers on APPLE, so the compiler used is not the one reported when running cmake: $ DEVELOPER_DIR=/Applications/Xcode2.app/Contents/Developer/ cc --version Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix $ DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer/ cc --version Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix Update that now by querying Xcode for the correct compiler path if the compiler located by ordinary means is located in /usr/bin.
| * | | CMakeDetermineCompiler: Factor out xcrun invocation into a macroStephen Kelly2015-01-141-4/+11
| | | | | | | | | | | | | | | | This will allow it to be re-used in multiple code paths later.
* | | | Merge topic 'safer-msmpi-checks'Brad King2015-01-151-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 68857ccd FindMPI: handle trailing slash from $MSMPI_BIN
| * | | | FindMPI: handle trailing slash from $MSMPI_BINBen Boeckel2015-01-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When installing, MSMPI puts a trailing backslash in the MSMPI_BIN environment variable. This causes trouble when concatenating in CMake since the list separator is now escaped and no longer a list separator due to the trailing backslash. Instead, use file(TO_CMAKE_PATH) to make the path CMake-friendly.
* | | | | Merge topic 'Xcode-clang-compile-features'Brad King2015-01-154-17/+44
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dcd72a74 Help: Add notes for topic 'Xcode-clang-compile-features' 3ad893b5 Features: Record for historical Xcode clang versions. 98965fb1 Features: Record dialect flags for AppleClang 4.0+.
| * | | | | Features: Record for historical Xcode clang versions.Stephen Kelly2015-01-114-15/+39
| | | | | |
| * | | | | Features: Record dialect flags for AppleClang 4.0+.Stephen Kelly2015-01-112-2/+5
| | |/ / / | |/| | |
* | | | | Merge topic 'FindBoost-update-versions'Brad King2015-01-151-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4048f7cd FindBoost: Add latest Boost version 1.57.0 and next milestone 1.58.0
| * | | | | FindBoost: Add latest Boost version 1.57.0 and next milestone 1.58.0Sergey Nikulov2015-01-131-1/+1
| | |_|_|/ | |/| | |
* | | | | Merge topic 'FindRuby-fix-version'Brad King2015-01-151-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 802d0aa0 FindRuby: Fix output check in _RUBY_CONFIG_VAR
| * | | | | FindRuby: Fix output check in _RUBY_CONFIG_VAREvangelos Foutras2015-01-111-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.8~173^2 (FindRuby: clean up querying variables from Ruby, 2012-02-17) we query RbConfig::CONFIG first and, if the command fails or its output equates to a false constant, then fall back to querying Config::CONFIG. Due to the above, an error condition exists with Ruby 2.2.0; when querying RbConfig::CONFIG['TEENY'], the output of '0' will be discarded since it matches the false constant '0'. In previous versions this wasn't a problem, but Ruby 2.2 has completely removed Config::CONFIG. This causes RUBY_VERSION_PATCH to be set to an empty string and the Ruby version to be detected as '2.2.' (instead of '2.2.0'). Fix the output check to explicitly look for an empty string before using the fallback query method. (Someone more familiar with Ruby might be able to deem the fallback as unnecessary and fully remove it.)
* | | | | Merge topic 'FindRuby-zero-version'Brad King2015-01-151-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | dd5d2eb1 FindRuby: fix selection of version x.0 (#15345)
| * | | | | FindRuby: fix selection of version x.0 (#15345)David Coppa2015-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When "Ruby_FIND_VERSION_MINOR" is 0, the "if(Ruby_FIND_VERSION_MAJOR AND Ruby_FIND_VERSION_MINOR)" check evaluated to false.
| * | | | | Merge branch 'FindSDL-quoting' into releaseBrad King2015-01-081-1/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'FindCUDA-cross' into releaseBrad King2015-01-081-2/+2
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'FindIce-CMP0054' into releaseBrad King2015-01-081-5/+5
| |\ \ \ \ \ \ \
* | \ \ \ \ \ \ \ Merge topic 'revert-feature_record_msvc'Brad King2015-01-155-134/+2
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ce110bb Tests: Revert workaround for COMPILE_FEATURES genex bug 0b7e7e27 Revert topic 'feature_record_msvc'
| * | | | | | | | Revert topic 'feature_record_msvc'Brad King2015-01-145-134/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commits: 2d738ce3 Help: Add notes for topic 'feature_record_msvc' f73718c9 Features: Enable writing of MSVC compiler feature header. 64c30bdc Features: Record for MSVC C++ 2015 and MSVC C 2010-2015. 225c0ef8 Features: Record for MSVC 2010-2013. This topic was merged to master prematurely, so remove it.
* | | | | | | | | Merge topic 'Apple-GNU-compiler-features'Brad King2015-01-122-3/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00f66a04 Record compile features for GNU on Apple.
| * | | | | | | | | Record compile features for GNU on Apple.Stephen Kelly2015-01-112-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested with GNU 4.8 binary (bottle) from homebrew, and assumed to work with the others.
* | | | | | | | | | Merge topic 'xcode-ios-compiler-id'Brad King2015-01-122-6/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b7209f6 Xcode: Do not require code signing for compiler id (#15214)
| * | | | | | | | | | Xcode: Do not require code signing for compiler id (#15214)Brad King2015-01-112-6/+1
| | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The approach in commit v3.1.0-rc1~1^2 (Xcode: Fix compiler id detection when code signing is required, 2014-10-22) still requires a code signing key when targeting a real device. Instead set CODE_SIGNING_REQUIRED to "NO" to tell Xcode not to sign at all. Drop the corresponding setting of the code signing identity.
* | | | | | | | | | Merge topic 'FindLATEX-components'Brad King2015-01-121-8/+159
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 89e08de8 FindLATEX: Add components for XeLaTeX and LuaLaTeX c32f6919 FindLATEX: Add components Biber and xindy 222ee2c0 FindLATEX: Add components PDFtoPS and HTLATEX 07a3f9ad FindLATEX: Add components handling
| * | | | | | | | | | FindLATEX: Add components for XeLaTeX and LuaLaTeXChristoph Grüninger2015-01-111-1/+32
| | | | | | | | | | |
| * | | | | | | | | | FindLATEX: Add components Biber and xindyChristoph Grüninger2015-01-111-0/+30
| | | | | | | | | | |
| * | | | | | | | | | FindLATEX: Add components PDFtoPS and HTLATEXChristoph Grüninger2015-01-111-0/+30
| | | | | | | | | | |