summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'apple-clang-flags-c++17'Brad King2020-03-122-2/+8
|\ | | | | | | | | | | | | a67f2d00d8 Apple Clang: add flags for C++17 standard Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4468
| * Apple Clang: add flags for C++17 standardMarc Chevrier2020-03-122-2/+8
| |
* | Merge topic 'CMakeFindFrameworks-CMAKE_FRAMEWORK_PATH'Brad King2020-03-121-7/+19
|\ \ | | | | | | | | | | | | | | | | | | c841d43d70 CMakeFindFrameworks: Search CMAKE_FRAMEWORK_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4461
| * | CMakeFindFrameworks: Search CMAKE_FRAMEWORK_PATHBo Anderson2020-03-111-7/+19
| | |
* | | Merge topic 'FindPython-ENV-CMAKE_FRAMEWORK_PATH'Brad King2020-03-121-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1044776472 FindPython: Convert env CMAKE_FRAMEWORK_PATH to CMake path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Marc Chevrier <marc.chevrier@gmail.com> Merge-request: !4462
| * | | FindPython: Convert env CMAKE_FRAMEWORK_PATH to CMake pathBo Anderson2020-03-111-1/+2
| | |/ | |/|
| * | Merge topic 'FindCUDAToolkit-reduce-verbosity' into release-3.17Brad King2020-03-111-1/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | a7cf574417 CUDAToolkit: Mark find queries as advanced variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4455
* | \ \ Merge topic 'swift-rpath'Brad King2020-03-121-4/+6
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | f481b3a947 Swift: repair RPATH handling for macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4456
| * | | Swift: repair RPATH handling for macOSSaleem Abdulrasool2020-03-111-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The configuration previously handled Linux properly but did not function on macOS as `ld64` does not support `:` delimited paths. Account for that by setting it to the empty string which will use multiple invocations of the `-Xlinker -rpath -Xlinker ...` pattern to compute the correct RPATH.
* | | | Merge topic 'FindCUDAToolkit-reduce-verbosity'Brad King2020-03-111-1/+8
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | a7cf574417 CUDAToolkit: Mark find queries as advanced variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4455
| * | | CUDAToolkit: Mark find queries as advanced variablesRobert Maynard2020-03-101-1/+8
| |/ / | | | | | | | | | Fixes #20435
* | | Merge topic 'cuda_toolkit_dirs'Brad King2020-03-101-25/+28
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0703e5fb6f CUDA: Perform CUDA toolkit include directory detection only on nvcc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4443
| * | | CUDA: Perform CUDA toolkit include directory detection only on nvccRaul Tambre2020-03-081-25/+28
| | | | | | | | | | | | | | | | The code is specific to nvcc.
* | | | Merge topic 'swift-ninja-multiconfig'Kyle Edwards2020-03-101-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87819db28d Merge branch 'backport-swift-ninja-multiconfig' into swift-ninja-multiconfig 65b3848de0 Swift: support Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4440
| * \ \ \ Merge branch 'backport-swift-ninja-multiconfig' into swift-ninja-multiconfigKyle Edwards2020-03-091-1/+1
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/|
| | * | Swift: support Ninja Multi-ConfigSaleem Abdulrasool2020-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | Enable support for multi-configuration builds using Ninja when building Swift.
| | * | Merge topic 'FindPython-manage-SOABI-suffix' into release-3.17Brad King2020-03-044-13/+39
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c97b73bc0 FindPython: python_add_library can now manage SOABI suffix. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4420
* | | \ \ Merge topic 'TI-C'Brad King2020-03-101-2/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a0fc68312 TI: Fix C toolchain command-lines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4422
| * | | | | TI: Fix C toolchain command-linesOliver Blasius2020-03-091-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix `armar` arguments. Fix the linker `--map_file=` argument. Enable response files.
* | | | | | Merge topic 'FindArmadillo-wrappers'Brad King2020-03-091-21/+62
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38c6dd7b19 FindArmadillo: Add support for non-wrapper case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4418
| * | | | | FindArmadillo: Add support for non-wrapper caseRyan Birmingham2020-03-061-21/+62
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Armadillo is typically built as a wrapper library, which is what this find module has historically supported, but it does not have to be. If not, then instead of armadillo itself, we need to link to some combination of dependencies and not armadillo.
* | | | | Merge topic 'FindPython-artifacts-scope'Brad King2020-03-064-13/+76
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e5b4c74238 FindPython: Add possibility to control scope of artifacts. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4426
| * | | | | FindPython: Add possibility to control scope of artifacts.Marc Chevrier2020-03-054-13/+76
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20362
* | | | | | Merge topic 'findx11-improvement'Brad King2020-03-051-0/+94
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77802aab97 FindX11: Find additional libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4101
| * | | | | FindX11: Find additional librariesZsolt Parragi2020-03-041-0/+94
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, FindLibrary(X11) learns about the following libraries: * xcb * X11-xcb * xcb-icccm * xcb-xkb * xkbcommon * xkbcommon-X11
* | | | | Merge topic 'FindOpenAL-updates'Brad King2020-03-041-48/+51
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a67f0a4ac7 FindOpenAL: Move user-relevant comments into public documentation cf0ce977de FindOpenAL: Minor implementation cleanup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4414
| * | | | | FindOpenAL: Move user-relevant comments into public documentationNguyễn Gia Phong2020-03-031-35/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, the role of frameworks in the search order can help users trying to use the ``OPENALDIR`` environment variable. Fixes: #20334
| * | | | | FindOpenAL: Minor implementation cleanupNguyễn Gia Phong2020-03-031-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | Use modern FPHSA signature. Indent search paths.
* | | | | | Merge topic 'msvc-librarian'Brad King2020-03-045-3/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55196a1440 MSVC: Use 'lib' instead of 'link /lib' to create static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4409
| * | | | | | MSVC: Use 'lib' instead of 'link /lib' to create static librariesFrancisco Facioni2020-03-035-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `link.exe /lib` is an undocumented flag and it just calls `lib.exe`. Also `link.exe` doesn't parse the `/lib` option correctly when in a response file.
* | | | | | | Merge topic 'FindPython-manage-SOABI-suffix'Brad King2020-03-044-13/+39
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c97b73bc0 FindPython: python_add_library can now manage SOABI suffix. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4420
| * | | | | | FindPython: python_add_library can now manage SOABI suffix.Marc Chevrier2020-03-034-13/+39
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Fixes: #20408
* | | | | | Merge topic 'llvm-rc-defines-not-flags'Brad King2020-03-041-1/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | ee70c5de4d llvm-rc: Forward DEFINES instead of FLAGS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4419
| * | | | llvm-rc: Forward DEFINES instead of FLAGSThomas Bernard2020-03-031-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 1c2d031cbd (Add -E cmake_llvm_rc to preprocess files for llvm-rc, 2020-01-14, v3.17.0-rc1~24^2) we pass the full target `<FLAGS>` to the llvm-rc resource compiler, but we should pass only `<DEFINES>`. Fixes: #20414
| * | | Merge topic 'q_namespace_export' into release-3.17Brad King2020-02-281-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 426941c433 Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4398
| * \ \ \ Merge topic 'FindPython-cache-cleanup' into release-3.17Brad King2020-02-271-55/+102
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42c6a1bfee FindPython: Do not cache computed result variables a7b4516e1a FindPython: Mark non-public cache entries INTERNAL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4393
| * \ \ \ \ Merge topic 'FindCUDA-no-threads-target' into release-3.17Brad King2020-02-251-1/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9d67447c3 FindCUDA: Only depend on Threads::Threads on platforms that need it Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4377
| * \ \ \ \ \ Merge topic 'FindPkgConfig-scope' into release-3.17Brad King2020-02-251-0/+6
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c3e0d1ffe9 FindPkgConfig: set policies CMP0054 and CMP0057 to new Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4388
| * \ \ \ \ \ \ Merge topic 'cuda-non-device-link' into release-3.17Brad King2020-02-251-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7da2c8c543 Merge branch 'backport-cuda-non-device-link' 738f3f23aa Ninja: Do not use nvcc response files with non-nvcc tools Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !4376
* | \ \ \ \ \ \ \ Merge topic 'CheckTypeSize-ppc64'Brad King2020-03-021-2/+6
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a09d646b7c CheckTypeSize: Fix '..._CODE' result for ppc and ppc64 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4413
| * | | | | | | | | CheckTypeSize: Fix '..._CODE' result for ppc and ppc64Brad King2020-02-281-2/+6
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for ppc64 macros before plain ppc. Consider both upper and lower case variants because some compilers have only one of them. Fixes: #20368
* | | | | | | | | Merge topic 'xl-fortran-module-dir-use'Brad King2020-03-021-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92785ed746 Tests: Enable Fortran submodule tests on XL compilers 210b0b99a9 XL: Fix using Fortran modules from their output directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4405
| * | | | | | | | | XL: Fix using Fortran modules from their output directoryBrad King2020-02-281-0/+1
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XL Fortran compiler's `-qmoddir=` flag sets the module output directory but does not add the directory to the search path for using modules. This is inconsistent with other compilers like the GNU Fortran compiler's `-J` flag that does both. In order to make these consistent, add the module output directory with a `-I` flag on the XL Fortran compiler so that it will be searched when using modules too. This fixes our `FortranModules` test's coverage of submodules on Ninja + XL. That test places module files in a subdirectory that with Ninja is not the current working directory when the compiler runs. Fixes: #20400
* | | | | | | | | Merge topic 'CheckFortranSource-def'Brad King2020-03-022-8/+4
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1bc521416f CheckFortranSource*: Avoid passing -DVAR to linker Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4406
| * | | | | | | | CheckFortranSource*: Avoid passing -DVAR to linkerBrad King2020-02-282-8/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test project is compiled with a `-DVAR` compiler flag where `VAR` is the result variable. Tell `try_compile` to add the flag through `add_definitions` instead of `CMAKE_Fortran_FLAGS` so that it is not used for linking. Otherwise some Fortran compilers (e.g. XL 15) do not like the flag when used to drive linking.
* | | | | | | | Merge topic 'FortranCInterface-cross-compile'Brad King2020-02-282-8/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e2683cf6d FortranCInterface: Fix broken search for test exe when cross-compiling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4404
| * | | | | | | | FortranCInterface: Fix broken search for test exe when cross-compilingBrad King2020-02-272-8/+6
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the `find_program` call we used to locate the test executable but that can be broken by `CMAKE_FIND_ROOT_PATH_MODE_PROGRAM`. Instead teach the test project to write a file with the location of the executable it builds. Load that file to get the exact location. Fixes: #20390
* | | | | | | | Merge topic 'q_namespace_export'Brad King2020-02-281-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | / | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | 426941c433 Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4398
| * | | | | | Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOCRichard2020-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt 5.14 introduced a new moc keyword `Q_NAMESPACE_EXPORT`. Qt-Issue: https://bugreports.qt.io/browse/QTBUG-68014
* | | | | | | Merge topic 'FindPython-cache-cleanup'Brad King2020-02-271-55/+102
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42c6a1bfee FindPython: Do not cache computed result variables a7b4516e1a FindPython: Mark non-public cache entries INTERNAL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4393