summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindBoost: Add 1.62 and 1.62.0 as supported versionsRoger Leigh2016-10-031-1/+1
|
* Merge topic 'add-setup-projects-tests-module'Brad King2016-10-012-0/+331
|\ | | | | | | | | 130784e0 AndroidTestUtilities: Add module to help drive Android device tests
| * AndroidTestUtilities: Add module to help drive Android device testsSchuyler Kylstra2016-09-302-0/+331
| | | | | | | | | | | | Add a module to manage the data needed for the project tests. It will move the test data to the build directory and transfer necessary data to an Android device if that is enabled.
* | Merge topic 'FindCxxTest-no-unix-interp'Brad King2016-09-291-2/+9
|\ \ | | | | | | | | | | | | 32ee69c5 FindCxxTest: Do not run cxxtestgen through interpreter unless necessary
| * | FindCxxTest: Do not run cxxtestgen through interpreter unless necessaryBrad King2016-09-281-2/+9
| |/ | | | | | | | | | | | | | | | | | | On platforms that support shebang lines the `cxxtestgen` script should be able to execute without an explicit interpreter. Do this if possible so that the proper interpreter specified by the shebang line is honored. Ideally we shouldn't even need to find `python` in this case, but that will be a larger change better made by a dedicated module maintainer. Closes: #16331
* | Merge topic 'vs-clang-llvm-support'Brad King2016-09-291-2/+2
|\ \ | |/ |/| | | | | 3f300b84 VS: Recognize VS/LLVM toolset names as Clang
| * VS: Recognize VS/LLVM toolset names as ClangRoman Wüger2016-09-281-2/+2
| | | | | | | | | | | | Update the toolset name matching added by commit v3.6.0-rc1~279^2~10 (VS: in Clang/C2 toolset, setup correct compiler settings, 2016-02-18) to match VS/LLVM toolset names too.
* | Merge topic 'simplify-license-notices'Brad King2016-09-28391-5102/+1019
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 19671831 Help: Update cmake-developer(7) module license docs for new notice 756169ac Tests: Update ModuleNotices test for new notice 845d86bc Utilities/Scripts: Remove temporary script that filtered license notices 86578ecc Simplify CMake per-source license notices b7180cfe Utilities/Scripts: Add temporary script to filter license notices 7feb4ecc Copyright.txt: Add notice of copyright by contributors 78f77f60 Utilities/KWStyle: Remove unused header check reference file 681e0429 Tests: Fix RunCMake.CTest output match to tolerate line number changes
| * | Simplify CMake per-source license noticesBrad King2016-09-27391-5102/+1019
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge topic 'GNUInstallDirs-more-BSD'Brad King2016-09-281-1/+1
|\ \ | | | | | | | | | | | | 956054ae GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pages
| * | GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pagesDmitry Marakasov2016-09-271-1/+1
| | |
* | | Merge topic 'findjni'Brad King2016-09-281-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 59eb75d9 FindJNI: Add aarch32 path on arm
| * | | FindJNI: Add aarch32 path on armOrion Poplawski2016-09-271-1/+1
| |/ /
* | | Merge topic 'silent-nsis-installs'Brad King2016-09-281-2/+2
|\ \ \ | |_|/ |/| | | | | | | | cb8db285 CPack/NSIS: Fix silent NSIS installs
| * | CPack/NSIS: Fix silent NSIS installsCraig Scott2016-09-271-2/+2
| |/ | | | | | | | | | | | | | | | | | | The installer should not put up a message box to confirm uninstall of a previous version for silent installs. Furthermore, when the uninstaller is invoked, do not show its confirmation dialog because either (a) the installer already asked the user or (b) the installer is running in silent mode. Closes: #16328
* | Merge topic 'cpack-rpm-debuginfo-sources'Brad King2016-09-272-20/+243
|\ \ | | | | | | | | | | | | | | | | | | 39c7d62c CPack/RPM debuginfo packaging documentation dd3c938a CPack/RPM debuginfo directories to sources b78fcf0d CPack/RPM debuginfo packages must contain sources
| * | CPack/RPM debuginfo packaging documentationDomen Vrankar2016-09-271-8/+90
| | |
| * | CPack/RPM debuginfo directories to sourcesDomen Vrankar2016-09-271-2/+30
| | | | | | | | | | | | | | | | | | List of sources must be split into paths parts so that debuginfo package cleans up after itself.
| * | CPack/RPM debuginfo packages must contain sourcesDomen Vrankar2016-09-272-12/+125
| | | | | | | | | | | | | | | Issue #15668 fix was missing relevant source files in debuginfo package.
* | | Merge topic 'find-matlab-pthread'Brad King2016-09-271-1/+6
|\ \ \ | | | | | | | | | | | | | | | | 33ec71f3 FindMatlab: Fix -pthread check for projects with only C enabled
| * | | FindMatlab: Fix -pthread check for projects with only C enabledJamie Snape2016-09-261-1/+6
| | | |
* | | | Merge topic 'CPackNSIS-per-component-install'Brad King2016-09-271-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 06dea230 CPack/NSIS: Add custom component install directory
| * | | | CPack/NSIS: Add custom component install directoryRoman Wüger2016-09-261-0/+5
| | |/ / | |/| |
* | | | Merge topic 'FindBoost-1.62'Brad King2016-09-271-0/+16
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 9bb8ac8e FindBoost: update to 1.62
| * | | FindBoost: update to 1.62Tatsuyuki Ishi2016-09-251-0/+16
| | | |
* | | | Merge topic 'xcode-sdk-version'Brad King2016-09-261-2/+4
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 540815ee Xcode: Convert maybe unversioned OSX sysroot into versioned SDK path
| * | | Xcode: Convert maybe unversioned OSX sysroot into versioned SDK pathGregor Jasny2016-09-251-2/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with Xcode 8 the SDK folder also contains an unversioned entry: $ ls -l /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs drwxr-xr-x 5 root wheel 170 Mar 4 2018 MacOSX.sdk lrwxr-xr-x 1 root wheel 10 Sep 16 20:49 MacOSX10.12.sdk -> MacOSX.sdk If this unversioned path is used CMake cannot detect the SDK version. To work around the problem we always invoke the code path that translates short SDK names like "macosx10.12" into a path. That way we always end up with a versioned SDK path in _CMAKE_OSX_SYSROOT_PATH which is later used to determine the version. Closes: #16323
* | | Merge topic 'revert-cpack-deb-package-description-fallback'Brad King2016-09-261-22/+21
|\ \ \ | | | | | | | | | | | | | | | | 1ef45a30 Revert "CPack/DEB: Make package description variable precedence match RPM"
| * | | Revert "CPack/DEB: Make package description variable precedence match RPM"Domen Vrankar2016-09-241-22/+21
| |/ / | | | | | | | | | | | | This reverts commit 332b089ad213a1aa89658fffd8f68c9064c6d3db as multiline descriptions require special formatting.
* | | Merge topic 'xcode-swift-version'Brad King2016-09-262-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | b35568f3 Xcode: Add option to set Swift language version 49d50ad4 Xcode: Port rudimentary Swift support to Xcode 8
| * | | Xcode: Port rudimentary Swift support to Xcode 8Brad King2016-09-232-0/+6
| |/ / | | | | | | | | | | | | | | | The `.pbxproj` file must now specify a `SWIFT_VERSION` value. Set it to the legacy value of "2.3" for now. Later this can be made configurable (e.g. to "3.0").
* | | FindMatlab: Add EXECUTABLE, MODULE, and SHARED options to matlab_add_mexJamie Snape2016-09-231-4/+24
| | |
* | | FindMatlab: Add SIMULINK componentJamie Snape2016-09-231-0/+16
| | |
* | | FindMatlab: Fix documentationJamie Snape2016-09-231-1/+2
|/ /
* | Merge topic 'ninja-fortran'Brad King2016-09-233-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33058150 Help: Document Ninja generator conditional Fortran support 59aae292 Ninja: Add dyndep rules for Fortran module dependencies 39ebfc79 Ninja: Add explicit preprocessing step for Fortran 9a77680e Ninja: Conditionally allow Fortran based on ninja 'dyndep' support 0f331d78 Ninja: Add internal tool to produce a ninja dyndep file for Fortran d3e0b64b Ninja: Add internal tool to scan Fortran code for module dependencies 8eca59a1 Ninja: Add comment with Fortran dependency design documentation a57d1bb7 Ninja: Add API to check for dyndep support 0488ae63 Ninja: Refactor ninja feature detection f0a23aa3 Ninja: Refactor Fortran rejection logic
| * | Ninja: Add explicit preprocessing step for FortranBrad King2016-09-223-0/+9
| |/ | | | | | | | | | | | | | | | | | | All Fortran sources need to be preprocessed before any source may be compiled so that module dependencies can be (later) extracted. Factor out an explicit preprocessing step preceding compilation. Use Ninja depfile dependencies on the preprocessing step and then compile the already-preprocessed source with a separate build statement that depends explicitly only on the preprocessor output. Later we will insert dynamic discovery of module dependencies between these steps.
* | Merge topic 'CheckFortranSourceCompiles-custom-ext'Brad King2016-09-231-5/+12
|\ \ | | | | | | | | | | | | | | | 4d3874d5 CheckFortranSourceCompiles: Add support for custom source extension 86d2e427 CheckFortranSourceCompiles: Fix FAIL_REGEX documentation typo
| * | CheckFortranSourceCompiles: Add support for custom source extensionBrad King2016-09-221-4/+11
| | | | | | | | | | | | | | | Fortran compilers interpret the source extension to decide whether to preprocess and what language level to use by default.
| * | CheckFortranSourceCompiles: Fix FAIL_REGEX documentation typoBrad King2016-09-221-1/+1
| |/
* | FindOpenSSL: Search in more-specific directories before less-specificBrad King2016-09-221-6/+6
|/ | | | | | | | | | | Since commit v3.6.0-rc1~182^2 (FindOpenSSL: Prefer libs early in search path regardless of name, 2016-04-04) we use the `NAMES_PER_DIR` option to `find_library` calls to consider all names in each directory before moving on to the next directory. Fix our library search directory ordering to place more-specific (e.g. VC/) directories before the general directories. Otherwise they may never be considered. Closes: #16320
* Merge topic 'cpack-rpm-policy-warnings'Brad King2016-09-201-1/+4
|\ | | | | | | | | edb3f6ee CPackRPM: Avoid CMP0007 warnings
| * CPackRPM: Avoid CMP0007 warningsDomen Vrankar2016-09-201-1/+4
| | | | | | | | | | For older versions of CMake minimum required version CMP0007 policy warning was printed out.
* | Merge topic 'cpack-rpm-srpm-package'Brad King2016-09-202-25/+207
|\ \ | | | | | | | | | | | | d9cec8ad CPack/RPM: Generate source rpm (SRPM) packages on demand
| * | CPack/RPM: Generate source rpm (SRPM) packages on demandDomen Vrankar2016-09-202-25/+207
| |/ | | | | | | Closes: #15839
* | Merge topic 'cpack.hash_computing'Brad King2016-09-201-0/+9
|\ \ | | | | | | | | | | | | | | | 1c63aa4d CPack: Add option to generate a checksum file next to each package file 4682b42b Tests: Add subtest support to RunCMake/CPack infrastructure
| * | CPack: Add option to generate a checksum file next to each package filePetr Orlov2016-09-191-0/+9
| |/ | | | | | | Add variable CPACK_PACKAGE_CHECKSUM to activate it.
* | Merge topic 'ifw-package-resources'Brad King2016-09-201-0/+32
|\ \ | | | | | | | | | | | | b807cd9b CPackIFW: Add 'cpack_ifw_add_package_resources' command
| * | CPackIFW: Add 'cpack_ifw_add_package_resources' commandKonstantin Podsvirov2016-09-191-0/+32
| |/
* | Merge topic 'ExternalProject-HTTP_HEADER'Brad King2016-09-202-2/+17
|\ \ | | | | | | | | | | | | | | | 5e6716db Help: Add notes for topic 'ExternalProject-HTTP_HEADER' 0f424c3d ExternalProject: Add HTTP_HEADER
| * | ExternalProject: Add HTTP_HEADERRuslan Baratov2016-09-192-2/+17
| | |