summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Configure some CMake-provided targets with USES_TERMINAL (#14915)Sylvain Joubert2015-01-271-0/+3
| | | | | | | | | | This will make them use the 'console' pool with the Ninja generator. Impacted targets are: - Built-in targets: install, install/local, install/strip, tests, package, package_source, rebuild_cache - Targets provided by the CTestTargets module: Nightly, Continuous, Experimental, and all their variants (*Start, *Configure, ...)
* ExternalProject: Allow ALWAYS step property to be switched (#15368)Brad King2015-01-231-0/+9
| | | | | | | Within an existing build tree, if the stamp for a step already exists when one activates the ALWAYS option, we still want it to always build. Remove the step stamp file during CMake configuration to ensure it does not exist when the ALWAYS option is enabled.
* Merge topic 'FindCUDA-more-advanced-cache-entries'Brad King2015-01-231-0/+4
|\ | | | | | | | | 005b409d FindCUDA: Mark more cache variables as advanced
| * FindCUDA: Mark more cache variables as advancedMark Abraham2015-01-221-0/+4
| | | | | | | | | | Mark variables pertaining to specific situations relevant to CUDA compilation as advanced since they are not part of normal usage.
* | Merge topic 'FeatureSummary-fix-doc-typo'Brad King2015-01-231-2/+2
|\ \ | | | | | | | | | | | | b79d8f29 FeatureSummary: Fix bracket in documentation.
| * | FeatureSummary: Fix bracket in documentation.Christoph GrĂ¼ninger2015-01-231-2/+2
| | |
| * | Merge branch 'FindQt-fixes' into releaseBrad King2015-01-161-3/+10
| |\ \
| * \ \ Merge branch 'fix-qcc-compiler-id' into releaseBrad King2015-01-153-3/+3
| |\ \ \
* | \ \ \ Merge topic 'cdash_upload_file_mode'Brad King2015-01-221-0/+138
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f3e0b6f1 CTestCoverageCollectGCOV: Add module to run gcov 6dd980e0 ctest_submit: Make CDASH_UPLOAD mode arguments more strict 5dc33f89 ctest_submit: Add CDASH_UPLOAD mode to upload files to CDash
| * | | | | CTestCoverageCollectGCOV: Add module to run gcovBill Hoffman2015-01-221-0/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a function to run gcov and create a tarball of results. Since CDash tracks the md5sum of the files uploaded, use the --mtime option with "cmake -E tar" so that tar files could be created that would have the same md5sum with the same content.
* | | | | | Merge topic 'FindCUDA-cusolver'Brad King2015-01-221-0/+7
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | e56c9327 FindCUDA: Add cuSOLVER library from CUDA 7.0
| * | | | | FindCUDA: Add cuSOLVER library from CUDA 7.0Andrew Seidl2015-01-211-0/+7
| |/ / / /
* | | | | Merge topic 'GNU-4.4-compile-features'Brad King2015-01-221-3/+10
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 965a50dc Features: Fix GNU 4.4 and 4.5 C standard level flags 7f4154a4 Features: Fix CompileFeatures non-feature tests for space in path f40c19b5 Features: Fix CompileFeatures test for C non-features
| * | | | 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.
* | | | | Merge topic 'find-package-mode-fix-multiarch'Brad King2015-01-201-2/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 48984958 CMakeFindPackageMode: Fix Debian multiarch default guess (#15250)
| * | | | | CMakeFindPackageMode: Fix Debian multiarch default guess (#15250)Felix Geyer2015-01-191-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v2.8.6~102^2~18 (Better support for lib64 and Debian multiarch, 2011-07-14) variable names "..._LANGUAGE_ARCHITECTURE" were set instead of the correct "..._LIBRARY_ARCHITECTURE". Fix this typo and also set the language-independent variable CMAKE_LIBRARY_ARCHITECTURE.
* | | | | | 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.