summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'GNU-4.4-compile-features'Brad King2015-01-194-14/+11
|\ | | | | | | | | | | | | | | | | | | | | 004e1540 Features: Record for GNU 4.4. 2a5ca650 Features: Wrap failure-test in UNIX condition. 1ae2c6b2 Features: Blacklist cxx_constexpr test for GNU 4.5. c66e3317 Features: Use a more-common feature in cycle-test. c43a6dc5 Features: Update comment in test to match the code. 78259135 Features: Test presence of cxx_auto_type with genex. 7b9fc88b Features: Remove outdated comment.
| * Features: Record for GNU 4.4.Stephen Kelly2015-01-184-13/+11
| |
| * Features: Remove outdated comment.Stephen Kelly2015-01-171-1/+0
| |
* | Merge topic 'SolarisStudio-compile-features'Brad King2015-01-193-0/+74
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 00194ea7 Help: Add notes for topic 'SolarisStudio-compile-features' bcb04783 Features: Record for SolarisStudio 12.4. 536c535c Features: Adjust cxx_variadic_templates unit test for SolarisStudio. 5d57970d Features: Use variable in cxx_inheriting_constructors test. 69182ce4 Features: Ensure that the cxx_auto_type test is correct.
| * | Features: Record for SolarisStudio 12.4.Stephen Kelly2015-01-173-0/+74
| | | | | | | | | | | | It has similar C++11 capabilities compared to GCC 4.8.
* | | Merge topic 'WriteCompilerDetectionHeader-multi-file-lang'Brad King2015-01-191-15/+29
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 59e6e15c Help: Add notes for topic 'WriteCompilerDetectionHeader-multi-file-lang' 54156d72 WCDH: Generate per-language files in multi-file mode. d84d6ed4 WCDH: Allow compilers to specify features for one language but not the other. 7dcdfec9 WCDH: Find a language-specific DetermineCompiler.cmake if present.
| * | WCDH: Generate per-language files in multi-file mode.Stephen Kelly2015-01-171-12/+16
| | | | | | | | | | | | | | | Otherwise we generate defines for C/CXX features unguarded by the presence of the __cplusplus macro and available to the wrong compiler.
| * | WCDH: Allow compilers to specify features for one language but not the other.Stephen Kelly2015-01-171-2/+8
| | |
| * | WCDH: Find a language-specific DetermineCompiler.cmake if present.Stephen Kelly2015-01-171-1/+5
| |/ | | | | | | The SolarisStudio compiler module uses language specific files.
* | Merge topic 'FindQt-fixes'Brad King2015-01-191-3/+10
|\ \ | | | | | | | | | | | | | | | | | | b937f753 FindQt: explicitely mention that it cannot Qt5 or later 6af8cbf2 FindQt: fix variable name in error message 49d05a47 FindQt: fix setting DESIRED_QT_VERSION if "find_package(Qt VVV)" was called
| * | FindQt: explicitely mention that it cannot Qt5 or laterRolf Eike Beer2015-01-161-0/+3
| | |
| * | FindQt: fix variable name in error messageRolf Eike Beer2015-01-161-2/+2
| | |
| * | FindQt: fix setting DESIRED_QT_VERSION if "find_package(Qt VVV)" was calledRolf Eike Beer2015-01-161-1/+5
| | | | | | | | | | | | | | | | | | | | | In case the given version was not only "3" or "4", but something like "4.8" DESIRED_QT_VERSION was set to an unsupported value. While at it also check that the version passed in is really in the range of 3.x and 4.x. Also suggest switching to the more specific find modules if possible.
| * | Merge branch 'FindRuby-zero-version' into releaseBrad King2015-01-141-1/+1
| |\ \
| * \ \ Merge branch 'FindRuby-fix-version' into releaseBrad King2015-01-141-1/+1
| |\ \ \
| * \ \ \ Merge branch 'FindBoost-update-versions' into releaseBrad King2015-01-141-1/+1
| |\ \ \ \
| * \ \ \ \ Merge branch 'linux-XL-fortran' into releaseBrad King2015-01-143-0/+3
| |\ \ \ \ \
| | * | | | | XL: Fix link flags for executables on Linux with XL compilersBrad King2015-01-123-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "-Wl,-export-dynamic" with XL to match the "-rdynamic" flag used with GNU-like compilers.
| * | | | | | Merge branch 'xcode-ios-compiler-id' into releaseBrad King2015-01-122-6/+1
| |\ \ \ \ \ \
* | \ \ \ \ \ \ Merge topic 'add-FindJsonCpp'Brad King2015-01-191-0/+117
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 0aebeb9c FindJsonCpp: Add module to find JsonCpp package
| * | | | | | | FindJsonCpp: Add module to find JsonCpp packageBrad King2015-01-191-0/+117
| | | | | | | |
* | | | | | | | 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