summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: get header deps from compiler invocation when possibleRobert Maynard2019-11-292-2/+9
| | | | | Before CUDA 10.2 `nvcc` didn't support providing header dependency information while compiling.
* CUDA: forward unknown flags to host compiler when possible.Robert Maynard2019-11-293-28/+29
| | | | | | | | | | Starting with CUDA 10.2 the nvcc compiler has gained support to automatically forward unknown flags to the host compiler. This behavior is highly desired as projcts that mix CUDA, C, C++ run into situation where flags such as `-pthread` which aren't supported by nvcc, are being applied to all source files and therefore break CUDA compilation.
* Merge topic 'xlf-ninja'Brad King2019-11-265-0/+49
|\ | | | | | | | | | | | | 19f267c75e XL: Add support for Ninja and XL Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4075
| * XL: Add support for Ninja and XL FortranBrad King2019-11-215-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Ninja generator's support for Fortran requires that source files be preprocessed explicitly first. However, the `xlf` compiler does not have a simple `-E` option or equivalent to do preprocessing. The only documented way to get preprocessed output is to use `-d` to leave it behind, but only at an inflexible location. Instead, create our own `cpp` wrapper script and substitute it for the real preprocessor using `-tF -B ...`. Teach the wrapper to map the `cpp` output to the location we need and then invoke the real `cpp` underneath. Fixes: #19450
* | Merge topic 'implicit-includes-extra-CR'Brad King2019-11-261-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 6d84afc7f2 Merge branch 'backport-implicit-includes-extra-CR' into implicit-includes-extra-CR 4b46523d90 CMakeParseImplicitIncludeInfo: Remove all CR chars from compiler output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4088
| * \ Merge branch 'backport-implicit-includes-extra-CR' into ↵Brad King2019-11-261-1/+1
| |\ \ | | | | | | | | | | | | implicit-includes-extra-CR
| | * | CMakeParseImplicitIncludeInfo: Remove all CR chars from compiler outputBrad King2019-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With Clang/LLVM on MinGW, lines ending in `\r\r\n` have been observed. Filter out all `\r` characters from these line endings. Fixes: #20021
| | * | Merge branch 'InstallRequiredSystemLibraries-redist' into release-3.15Brad King2019-10-111-0/+7
| | |\ \ | | | | | | | | | | | | | | | Merge-request: !3909
* | | \ \ Merge topic 'FindODBC-mingw'Brad King2019-11-261-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb8042b0ab FindODBC: Add library name for MinGW toolchains Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4076
| * | | | | FindODBC: Add library name for MinGW toolchainsCristian Adam2019-11-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20018
* | | | | | Merge topic 'FindwxWidgets-rel-and-dbg'Brad King2019-11-251-1/+1
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5bb08a8c0 FindwxWidgets: Fix finding both release and debug libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4079
| * | | | | FindwxWidgets: Fix finding both release and debug libsBrad King2019-11-221-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit fe54989fcd (FindwxWidgets: Add support for wxQt, 2019-11-12, v3.16.0-rc4~12^2~1) the internal `WX_FIND_LIBS` macro gained an argument but not all call sites were updated. Update the missing one now. Fixes: #20005
* | | | | Merge topic 'FindMPI-improve-error'Brad King2019-11-211-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e221039e11 FindMPI: Improve error when a component's language is not enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4071
| * | | | | FindMPI: Improve error when a component's language is not enabledKeith Ballard2019-11-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if a CMake project requests a component for a language that is not enabled, it would simply give an error with the message Could NOT find MPI (missing: MPI_${LANG}_FOUND) which is not indicative that the language was not enabled. This change provides an error message indicating that it failed to find the particular MPI component because no compiler was available for the language and the language might need to be enabled for the project. Closes: #19996
* | | | | | Merge topic 'UseJava-javadoc-classpath-separator'Brad King2019-11-211-43/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d47b97a69 UseJava: Use correct path separator in javadoc 1b27ac78ac UseJava: Use list(APPEND) to simplify javadoc option construction c7a4b1a58e UseJava: Extract the path separator to module level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3967
| * | | | | | UseJava: Use correct path separator in javadocNathan Burles2019-11-201-20/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For both classpath and sourcepath.
| * | | | | | UseJava: Use list(APPEND) to simplify javadoc option constructionNathan Burles2019-11-201-10/+11
| | | | | | |
| * | | | | | UseJava: Extract the path separator to module levelNathan Burles2019-11-201-15/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | It is currently only defined within the add_jar function, but is needed inside other functions in this module.
* | | | | | Merge topic 'ExternalProject-list-sep-in-cache'Brad King2019-11-211-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 46de38dae2 ExternalProject: replace LIST_SEPARATOR in initial cache files too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4070
| * | | | | | ExternalProject: replace LIST_SEPARATOR in initial cache files tooBen Boeckel2019-11-201-0/+5
| |/ / / / /
* | | | | | Merge topic 'FindwxWidgets-qt-debug'Brad King2019-11-211-0/+2
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | | | | | | | | | | | 84408ff402 FindwxWidgets: Find wxQt debug libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4069
| * | | | FindwxWidgets: Find wxQt debug librariesCraig Sturdy2019-11-201-0/+2
| |/ / / | | | | | | | | | | | | | | | | Extend the change from commit fe54989fcd (FindwxWidgets: Add support for wxQt, 2019-11-12, v3.16.0-rc4~12^2~1) to also find debug-enabled libs.
| * | | Merge topic 'swift-rpath-darwin' into release-3.16Brad King2019-11-181-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff6c336127 Swift: support `-rpath` on Darwin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4059
| * \ \ \ Merge topic 'swift-darwin-install-name' into release-3.16Brad King2019-11-181-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f935de6746 Swift: support `INSTALL_NAME_DIR` on Darwin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4060
| * \ \ \ \ Merge topic 'FindPostgreSQL-macports-libsuffix' into release-3.16Brad King2019-11-151-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24ae45fb0c FindPostgreSQL: also search for libraries in the MacPorts suffix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4043
| * \ \ \ \ \ Merge topic 'FindwxWidgets-mingw' into release-3.16Brad King2019-11-131-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c921ec6112 FindwxWidgets: Add link dependencies for MinGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4040
| * \ \ \ \ \ \ Merge topic 'FindwxWidgets-qt' into release-3.16Brad King2019-11-131-22/+26
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe54989fcd FindwxWidgets: Add support for wxQt Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4038
* | \ \ \ \ \ \ \ Merge topic 'sdcc-sdar'Brad King2019-11-191-10/+24
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cf404d36f SDCC compiler: use sdar instead of sdcclib as librarian for recent versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4065
| * | | | | | | | | SDCC compiler: use sdar instead of sdcclib as librarian for recent versionsJohnny Jazeix2019-11-181-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19988
* | | | | | | | | | Merge topic 'FindFLEX-work-dir'Brad King2019-11-191-19/+54
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5fb36a4cb FindFLEX: Add policy CMP0098 to run flex in build tree Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3981
| * | | | | | | | | | FindFLEX: Add policy CMP0098 to run flex in build treeJannick2019-11-151-19/+54
| | | | | | | | | | |
* | | | | | | | | | | Merge topic 'swift-rpath-darwin'Brad King2019-11-181-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff6c336127 Swift: support `-rpath` on Darwin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4059
| * | | | | | | | | | Swift: support `-rpath` on DarwinSaleem Abdulrasool2019-11-181-1/+1
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Darwin also has the concept of RPATH. Additionally, the flag is identical to that on other Unixish platforms. Simply avoid the `-rpath` handling on Windows. This enables the use of `BUILD_WITH_INSTALL_RPATH` and `INSTALL_RPATH` with Swift targets on Darwin.
| * | | | | | | | | Merge topic 'swift-rpath-separator' into release-3.16Brad King2019-11-131-0/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a27a1c7e88 Swift: Allow build and installed RPATHs to differ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4037
| * \ \ \ \ \ \ \ \ \ Merge topic 'remove-CPACK_INSTALL_CMAKE_CONFIGURATIONS' into release-3.16Craig Scott2019-11-121-7/+0
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d1fa5d3e4 Tests: Add RunCMake.CPackCommandLine case for multi-config package 108207cc84 CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4025
| * \ \ \ \ \ \ \ \ \ \ Merge topic 'objc-link-main' into release-3.16Brad King2019-11-111-50/+26
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | db91c5f776 ObjC: Set same settings for all languages supported on Darwin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4012
| * \ \ \ \ \ \ \ \ \ \ \ Merge topic 'CTestCoverageCollectGCOV-typo' into release-3.16Brad King2019-11-081-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7d9c5e78b CTestCoverageCollectGCOV: Fix typo in ctest_coverage_collect_gcov docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4016
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge topic 'revert-FindBinUtils-ask-compiler' into release-3.16Brad King2019-11-082-75/+21
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b2857514b0 FindBinUtils: Revert "Use the compiler to get the path to compiler tools" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4009
* | \ \ \ \ \ \ \ \ \ \ \ \ \ Merge topic 'swift-darwin-install-name'Brad King2019-11-181-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | / / / | | |_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f935de6746 Swift: support `INSTALL_NAME_DIR` on Darwin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4060
| * | | | | | | | | | | | | Swift: support `INSTALL_NAME_DIR` on DarwinSaleem Abdulrasool2019-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust the shared object rule to ensure that we honour the `INSTALL_NAME_DIR` property on Swift targets. This enables the use of `INSTALL_NAME_DIR` and `BUILD_WITH_INSTALL_NAME_DIR` on Darwin with Ninja.
* | | | | | | | | | | | | | Merge topic 'CPackNuget-dep-id'Brad King2019-11-181-5/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26367b4bb2 CPack/NuGet: Do not mangle non-C-identifier chars in dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4044
| * | | | | | | | | | | | | CPack/NuGet: Do not mangle non-C-identifier chars in dependenciesyacoub2019-11-141-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19956
* | | | | | | | | | | | | | Merge topic 'cmake-e-rm'Kyle Edwards2019-11-156-10/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d0100fac7 replace remove and remove_directory with rm in tests 5239fc5c75 cmake -E: Add rm with improved semantics over remove and remove_directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3949
| * | | | | | | | | | | | | | replace remove and remove_directory with rm in testsJohnny Jazeix2019-11-136-10/+10
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge topic 'FindPostgreSQL-macports-libsuffix'Brad King2019-11-151-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24ae45fb0c FindPostgreSQL: also search for libraries in the MacPorts suffix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4043
| * | | | | | | | | | | | | | FindPostgreSQL: also search for libraries in the MacPorts suffixBen Boeckel2019-11-131-0/+1
| | |_|/ / / / / / / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | Merge topic 'FindwxWidgets-mingw'Brad King2019-11-131-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c921ec6112 FindwxWidgets: Add link dependencies for MinGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4040
| * | | | | | | | | | | | | FindwxWidgets: Add link dependencies for MinGWGrant Kim2019-11-131-1/+1
| | |_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wxWidgets on MinGW requires system libraries `uuid` and `uxtheme`.
* | | | | | | | | | | | | Merge topic 'FindwxWidgets-qt'Brad King2019-11-131-22/+26
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe54989fcd FindwxWidgets: Add support for wxQt Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4038
| * | | | | | | | | | | | FindwxWidgets: Add support for wxQtCraig Sturdy2019-11-121-22/+26
| |/ / / / / / / / / / /