summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ow-mult-platforms'Brad King2020-05-0710-6/+119
|\ | | | | | | | | | | | | | | | | | | 4adfd2a3aa OpenWatcom: Add cross-compilation support for Windows 43c3243c2d OpenWatcom: Fix Linux support file d26eea220a OpenWatcom: Add OS/2 target support 0ab583d787 OpenWatcom: Add DOS target support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4702
| * OpenWatcom: Add cross-compilation support for WindowsJiri Malak2020-05-061-2/+11
| | | | | | | | Add system header files directories for cross-compilation
| * OpenWatcom: Fix Linux support fileJiri Malak2020-05-061-4/+13
| | | | | | | | | | | | Fix CMAKE_SHARED_LINKER_FLAGS_INIT macro Fix executable file name for Linux to be without extension Add system header files directory for cross-compilation
| * OpenWatcom: Add OS/2 target supportJiri Malak2020-05-064-0/+51
| | | | | | | | | | | | | | | | | | | | OS/2 16-bit and 32-bit target support files for cross-compilation by OpenWatcom. It is used if CMAKE_SYSTEM_NAME=OS2 is defined. If CMAKE_SYSTEM_PROCESSOR=I86 is defined then 16-bit OS/2 target is used, otherwise 32-bit OS/2 target is used.
| * OpenWatcom: Add DOS target supportJiri Malak2020-05-064-0/+44
| | | | | | | | | | | | | | | | | | | | DOS 16-bit and 32-bit target support files for cross-compilation by OpenWatcom. It is used if CMAKE_SYSTEM_NAME=DOS is defined. If CMAKE_SYSTEM_PROCESSOR=I86 is defined then 16-bit DOS target is used, otherwise 32-bit DOS target is used.
* | Merge topic 'FindVulkan-use-SDK-env-variable'Brad King2020-05-071-8/+15
|\ \ | | | | | | | | | | | | | | | | | | 590cde6125 FindVulkan: Prefer VULKAN_SDK env var before standard paths on UNIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4714
| * | FindVulkan: Prefer VULKAN_SDK env var before standard paths on UNIXPatric Schmitz2020-05-061-8/+15
| | | | | | | | | | | | | | | | | | Also document the variable. Fixes: #18346
* | | Merge topic 'compiler-sysroot-slashes'Brad King2020-05-071-1/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 2e831e4a17 Windows: Normalize slashes in compiler -print-sysroot path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4715
| * | Windows: Normalize slashes in compiler -print-sysroot pathBrad King2020-05-061-1/+2
| |/ | | | | | | | | | | | | | | | | Since commit 8cc384f629 (Compilers: Add paths from -print-sysroot to system prefix path, 2020-03-25) we detect the compiler `-print-sysroot` output and save it. On Windows, the value may include backslashes. Convert the path to CMake's forward-slash convention for storage. Fixes: #20679
* | Merge topic 'gtest-space-in-parameter'Brad King2020-05-061-4/+16
|\ \ | | | | | | | | | | | | | | | | | | 839a1010a3 GoogleTestAddTests: Fix output processing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4694
| * | GoogleTestAddTests: Fix output processingStefan Floeren2020-05-051-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function gtest_discover_tests calls the passed test executable with the parameter --gtest_list_tests and parses the output to find all tests. In case of value-parameterized tests ([1]), the test values are included in the output. While test names are alphanumeric, the values can contain arbitrary content. First, the output is separated into lines with `foreach`. Included semi-colons breaks this and need to get escaped. Afterwards, the testname is passed on to the `add_command` helper. This helper was converted into a macro in commit dac201442d (GoogleTest: Optimize gtest_discover_tests, 2020-02-18). As a macro, its arguments are re-evaluated. Therefore we need to escape `\`, `;` and to prevent unwanted variable expansion `$`. Fixes: #20661 [1] <https://github.com/google/googletest/blob/0eea2e9/googletest/docs/advanced.md#value-parameterized-tests>
* | | Merge topic 'FindPkgConfig-isystem'Brad King2020-05-061-7/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 502e562940 Merge branch 'backport-3.17-FindPkgConfig-isystem' into FindPkgConfig-isystem e9d93c3731 Help: Add 3.17 release note for FindPkgConfig '-isystem' fix dfaaae67a3 Merge branch 'backport-3.16-FindPkgConfig-isystem' cd31a8acef FindPkgConfig: also handle "-isystem" prefixes for include directories 4d446c68d1 FindPkgConfig: also handle "-isystem" prefixes for include directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4693
| * | | FindPkgConfig: also handle "-isystem" prefixes for include directoriesRolf Eike Beer2020-05-051-7/+41
| | |/ | |/| | | | | | | Fixes: #20652
* | | Merge topic 'CheckLanguage-cuda-host'Brad King2020-05-061-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 5b304a7503 CheckLanguage: Fix forwarding of CMAKE_CUDA_HOST_COMPILER Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !4711
| * | CheckLanguage: Fix forwarding of CMAKE_CUDA_HOST_COMPILERBrad King2020-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the condition added by commit fada8cbfd6 (CheckLanguage: Report CMAKE_CUDA_HOST_COMPILER if needed for compilation, 2019-05-31, v3.15.0-rc1~12^2) to activate CUDA-specific logic. The old condition had worked in our test suite only by accident because the loop variable used in the test happened to be the name and value that the old condition used! Update the test to use a different name. Fixes: #19013
* | | Merge topic 'FindBoost-1.73'Brad King2020-05-051-1/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1e04be913 FindBoost: Update MinGW compiler tag for Boost 1.73 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Boris Basic <baljci@hotmail.com> Merge-request: !4706
| * | | FindBoost: Update MinGW compiler tag for Boost 1.73Brad King2020-05-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Boost 1.73 on MinGW no longer uses the compiler minor version in its library names if the major version is at least 5. Fixes: #20673
* | | | Merge topic 'FindBoost-1.73'Brad King2020-05-051-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 5e8d66f431 FindBoost: Add 1.73 to known versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4708
| * | | FindBoost: Add 1.73 to known versionsBoris Basic2020-05-041-1/+1
| |/ / | | | | | | | | | | | | This was accidentally left out of commit 9daf79c53b (FindBoost: Add support for Boost 1.73, 2020-04-19, v3.17.2~9^2).
| * | Merge topic 'FindBoost-1.73' into release-3.17Brad King2020-04-281-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 69ed51960b FindBoost: Prevent warning with boost 1.73 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4662
* | | | FindPython: Add support for 'PyPy'Marc Chevrier2020-05-014-9/+109
| | | |
* | | | Merge topic 'FPHSA-handle-components'Brad King2020-05-011-4/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b6332af60 FPHSA: REQUIRED_VARS is optional if HANDLE_COMPONENTS is specified Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4690
| * | | | FPHSA: REQUIRED_VARS is optional if HANDLE_COMPONENTS is specifiedMarc Chevrier2020-04-301-4/+17
| | | | | | | | | | | | | | | | | | | | Fixes: #20655
* | | | | Merge topic 'CTestCoverageCollectGCOV-compress-opts'Brad King2020-05-011-6/+48
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40ca6ef125 CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option 81e83510a0 Tests: Fix re-running CTestCoverageCollectGCOV on in-source build ab7eda2591 Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOV Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4649
| * | | | | CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION optionKelly (KT) Thompson2020-04-301-6/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For large projects, the default bzip2 compression of gcov data is prohibitively expensively (could take several hours). Introduce options that allow the consumer to choose between file size and compression time. Add a new optional argument `TARBALL_COMPRESSION` for the macro `ctest_coverage_collect_gcov`. This option accepts the values `GZIP`, `BZIP2`, `XZ`, `FROM_EXT`, or an expression that evaluates to `FALSE`. The default value is `BZIP2` to preserve prior behavior. Fixes: #20593
* | | | | | Merge topic 'patch-11'Brad King2020-04-303-0/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4197aadecb OpenWatcom: Add Linux support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4669
| * | | | | | OpenWatcom: Add Linux supportJiri Malak2020-04-293-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is native Linux support for Linux host executable only (only static library support, no shared library support).
* | | | | | | FindPython: fix error on FPHSA callMarc Chevrier2020-04-291-20/+20
| |_|/ / / / |/| | | | |
* | | | | | Merge topic 'FindLibXslt-targets'Brad King2020-04-291-3/+57
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a90ef5a44 FindLibXslt: use LIBXSLT_LIBRARY as cache variable 1aa7df4114 FindLibXslt: provide imported targets dd506714f4 FindLibXslt: identify libexslt include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4650
| * | | | | | FindLibXslt: use LIBXSLT_LIBRARY as cache variableMarkus Rickert2020-04-281-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use LIBXSLT_LIBRARY as cache variable instead of LIBXSLT_LIBRARIES to adhere to documented conventions. Check for defined LIBXSLT_LIBRARIES value to support backwards compatibility.
| * | | | | | FindLibXslt: provide imported targetsMarkus Rickert2020-04-281-2/+34
| | | | | | |
| * | | | | | FindLibXslt: identify libexslt include directoryMarkus Rickert2020-04-281-0/+15
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'FindVulkan-env-sdk-first'Brad King2020-04-291-6/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c40e5ddb4 FindVulkan: Prefer VULKAN_SDK env var before standard paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4663
| * | | | | FindVulkan: Prefer VULKAN_SDK env var before standard pathspheonix xx2020-04-281-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reference the environment variable as HINTS instead of PATHS. Fixes: #20637
* | | | | | Merge topic 'openwatcom-platform-independence'Brad King2020-04-294-109/+123
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3640dbdd5 OpenWatcom: Organize and update C/C++ toolchain command lines 7aa9e89b1c OpenWatcom: Move non-Windows settings to Modules/Compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4666
| * | | | | | OpenWatcom: Organize and update C/C++ toolchain command linesJiri Malak2020-04-281-20/+22
| | | | | | |
| * | | | | | OpenWatcom: Move non-Windows settings to Modules/CompilerJiri Malak2020-04-284-109/+121
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Restructure OpenWatcom toolchain support files to simplify adding of new targets DOS, OS/2 and Linux including cross-compilation.
* | | | | | Merge topic 'FindPython-find-implementations'Brad King2020-04-294-489/+610
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2c47c822b FindPython: Add capability to specify Python implementations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4676
| * | | | | | FindPython: Add capability to specify Python implementationsMarc Chevrier2020-04-284-489/+610
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Through hint Python_FIND_IMPLEMENTATIONS it is possble to specify, as an ordered list, which implementations must be searched for. Currently possible values are: * CPython * IronPython
* | | | | | | Merge topic 'FindLAPACK-target'Brad King2020-04-281-0/+25
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ed936d1b8 FindLAPACK: Provide the LAPACK::LAPACK import target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4677
| * | | | | | | FindLAPACK: Provide the LAPACK::LAPACK import targetRobert Maynard2020-04-271-0/+25
| |/ / / / / /
* | | | | | | Merge topic 'FindBoost-1.73'Brad King2020-04-281-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | 69ed51960b FindBoost: Prevent warning with boost 1.73 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4662
| * | | | | FindBoost: Prevent warning with boost 1.73Orgad Shaneh2020-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 9daf79c53b (FindBoost: Add support for Boost 1.73, 2020-04-19) we forgot to update the version comparison for the warning.
* | | | | | Merge topic 'FindPython-reason-failure'Brad King2020-04-271-21/+23
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | a7eca04163 FindPython: fix reason failure propagation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4660
| * | | | | FindPython: fix reason failure propagationMarc Chevrier2020-04-241-21/+23
| | | | | |
* | | | | | Merge topic 'FindBLAS-target'Brad King2020-04-271-0/+23
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85a9813a76 BLAS: Provide the BLAS::BLAS import target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4657
| * | | | | BLAS: Provide the BLAS::BLAS import targetRobert Maynard2020-04-231-0/+23
| | | | | |
* | | | | | Merge topic 'FindPython-fix-python-compiler-validation'Brad King2020-04-241-15/+16
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | f39da773ee FindPython: fix python compiler validation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4655
| * | | | | FindPython: fix python compiler validationMarc Chevrier2020-04-231-15/+16
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure also the cache of properties is erased in case of multiple searches. Fixes: #20626, #20627
| * | | | Merge topic 'FindBoost-1.73' into release-3.17Brad King2020-04-211-312/+329
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9daf79c53b FindBoost: Add support for Boost 1.73 f48051d33f FindBoost: Simplify Boost_VERSION_STRING comparisons 56b3375f3e BoostScanDeps: Fix typo in numpy handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4635