summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'iar-riscv'Brad King2019-07-097-3/+20
|\ | | | | | | | | | | | | c242187875 IAR: Add support for the RISC-V compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3510
| * IAR: Add support for the RISC-V compilerStefan Andersson2019-07-087-3/+20
| |
* | Merge topic 'fortran-submodule-cray'Brad King2019-07-081-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | b0bcd4d7d2 Fortran: Add support for submodules on Cray 33de4d27eb Fortran: Support compilers using no module prefix on submodule files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3504
| * | Fortran: Add support for submodules on CrayWillem Deconinck2019-07-081-0/+2
| |/ | | | | | | | | | | | | | | Define `CMAKE_Fortran_SUBMODULE_{SEP,EXT}` for the Cray Fortran compiler. Use an empty separator to tell CMake that this compiler does not use the enclosing module name as a prefix on submodule files. Issue: #18925
* | Merge topic 'pb-cxx11'Brad King2019-07-081-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 59a30f2acf FindProtobuf: libprotoc also needs C++11 194adaf985 Tests: require C++11 for some protobuf tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3503
| * | FindProtobuf: libprotoc also needs C++11Rolf Eike Beer2019-07-031-0/+5
| | |
* | | Merge topic 'threads-are-good'Brad King2019-07-081-6/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 08cd7f6a02 Swift: support multithreaded compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3506
| * | Swift: support multithreaded compilationSaleem Abdulrasool2019-07-021-6/+10
| | | | | | | | | | | | | | | Query the number of logical CPUs available to enable parallel compilation for Swift.
* | | Merge topic 'FindPostgreSQL-lib-dir'Brad King2019-07-031-1/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | d21b890a4c FindPostgreSQL: Fix regression in computation of library directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3505
| * | FindPostgreSQL: Fix regression in computation of library directoryBrad King2019-07-021-1/+8
| |/ | | | | | | | | | | | | | | | | | | | | Since commit 368bcba28a (FindPostgreSQL: Find debug lib, imported configs, 2019-05-09, v3.15.0-rc1~93^2) the `PostgreSQL_LIBRARY` variable may contain a list and therefore should not be passed to the `get_filename_component` command directly. Instead spell out the logic to compute `PostgreSQL_LIBRARY_DIR` from one of the per-configuration variables. Fixes: #19444
* | Merge topic 'static'Brad King2019-07-021-0/+6
|\ \ | | | | | | | | | | | | | | | | | | 8aa0b63bc6 Swift: add rules for static linking Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3492
| * | Swift: add rules for static linkingSaleem Abdulrasool2019-06-281-0/+6
| | | | | | | | | | | | | | | | | | The Swift driver recently learnt how to generate static libraries using the `-static` flag. This enables us to generate proper static libraries with dependency tracking with Swift as well.
* | | Merge topic 'FindMPI-AddSuffixes'Marc Chevrier2019-07-021-2/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5affe415a3 FindMPI: Add MPI_EXECUTABLE_SUFFIX to every item in lists Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3496
| * | | FindMPI: Add MPI_EXECUTABLE_SUFFIX to every item in listsBrian Carlson2019-06-291-2/+6
| |/ / | | | | | | | | | | | | | | | Add the `${MPI_EXECUTABLE_SUFFIX}` to each of the items in the `_MPI_${id}_${LANG}_COMPILER_NAMES` and `_MPI_${LANG}_GENERIC_COMPILER_NAMES` rather than just adding the suffix to the last item in each list.
* | | Merge topic 'override-rules-RC'Brad King2019-07-011-0/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d2f20ab217 RC: Honor CMAKE_USER_MAKE_RULES_OVERRIDE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3489
| * | | RC: Honor CMAKE_USER_MAKE_RULES_OVERRIDEBrad King2019-06-271-0/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the refactoring in commit 48f7e2d300 (Unhardcode the CMAKE_CONFIGURATION_TYPES values, 2017-11-27, v3.11.0-rc1~130^2~1), `CMAKE_BUILD_TYPE` is initialized while enabling the RC language. Therefore we need to honor `CMAKE_USER_MAKE_RULES_OVERRIDE` as part of enabling RC so that a `CMAKE_BUILD_TYPE_INIT` setting in the override file is honored. Fixes: #19401
* | | Merge topic 'FindMatlab-EXCLUDE_FROM_ALL'Brad King2019-07-011-1/+13
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 11e0009b77 FindMatlab: EXCLUDE_FROM_ALL parameter to matlab_add_mex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3474
| * | FindMatlab: EXCLUDE_FROM_ALL parameter to matlab_add_mexRaffi Enficiaud2019-06-261-1/+13
| | | | | | | | | | | | Enabling a mex target to be excluded from the `all` target.
* | | Merge topic 'cuda-msvc-runtime-library'Brad King2019-06-271-4/+19
|\ \ \ | |/ / |/| / | |/ | | | | | | | | 8fbd25772f CUDA: Implement MSVC runtime library abstraction 07807a2006 VS: Use AddLanguageFlags to de-duplicate CMAKE_{CUDA,ASM*}_FLAGS lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3485
| * CUDA: Implement MSVC runtime library abstractionBrad King2019-06-261-4/+19
| | | | | | | | | | | | | | | | | | In commit fb3370b6a1 (MSVC: Add abstraction for runtime library selection, 2019-04-10, v3.15.0-rc1~229^2) we overlooked updating flags for CUDA on Windows, where nvcc uses MSVC as the host compiler. Add them now and update the MSVCRuntimeLibrary test to cover CUDA. Fixes: #19428
* | Merge topic 'findmpi_use_interface_link_options'Brad King2019-06-261-3/+2
|\ \ | | | | | | | | | | | | | | | | | | 39c572c9c9 FindMPI: Updated to use INTERFACE_LINK_OPTIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3476
| * | FindMPI: Updated to use INTERFACE_LINK_OPTIONSRobert Maynard2019-06-241-3/+2
| |/
| * Merge branch 'android-pie-cmp0083' into release-3.15Brad King2019-06-191-0/+20
| |\ | | | | | | | | | Merge-request: !3459
| * \ Merge branch 'FindMPI-imported-link-flags' into release-3.15Brad King2019-06-191-1/+3
| |\ \ | | | | | | | | | | | | Merge-request: !3449
| * \ \ Merge branch 'FindBoost-component' into release-3.15Brad King2019-06-181-5/+157
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3438
| * \ \ \ Merge branch 'FindBLAS-OpenBLAS-thread' into release-3.15Brad King2019-06-171-1/+15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3434
| * \ \ \ \ Merge branch 'CheckCXXSymbolExists-xref' into release-3.15Brad King2019-06-121-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3437
| * \ \ \ \ \ Merge branch 'cpack-nuget-case' into release-3.15Brad King2019-06-051-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3427
* | \ \ \ \ \ \ Merge topic 'FindMatlab/issue-19279-mex-compilation-error-on-attribute'Brad King2019-06-261-3/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2595a4958 FindMatlab: removing spaces in compiler define Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3473
| * | | | | | | | FindMatlab: removing spaces in compiler defineRaffi Enficiaud2019-06-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spaces in `DLL_EXPORT_SYM=__attribute__ ((visibility (\"default\")))` are causing a compilation error. Fixes: #19279
* | | | | | | | | FindProtobuf: C++11 support is required since version 3.6.0Rolf Eike Beer2019-06-251-0/+5
| | | | | | | | |
* | | | | | | | | Merge topic 'matlab-if'Brad King2019-06-251-25/+25
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56e89e50d3 FindMatlab: simplify several if()-constructs 51bcdeb17f Tests: simplify checks for Matlab variables being set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3472
| * | | | | | | | | FindMatlab: simplify several if()-constructsRolf Eike Beer2019-06-241-25/+25
| |/ / / / / / / /
* | | | | | | | | Merge topic 'find_matlab_exact'Brad King2019-06-251-8/+22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2454fe84f5 FindMatlab: Support EXACT versions Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raffi Enficiaud <raffi.enficiaud@free.fr> Merge-request: !3460
| * | | | | | | | | FindMatlab: Support EXACT versionsStefan Lietzau2019-06-241-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an exact version is requested, don't pick the latest matlab version but the one matching the requested version. Fixes: #19155
* | | | | | | | | | FindPython: add Python_FIND_ABI hint.Marc Chevrier2019-06-243-99/+356
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | This variable will enable to specify will ABIs will be searched.
* | | | | | | | | Merge topic 'BundleUtilities-cleanup'Brad King2019-06-202-42/+23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d59ebb704 GetPrerequisites: use CMAKE_OBJDUMP if it is set e33f4cb0cb BundleUtilities: use if(... IN_LIST ...) 6695383dd5 BundleUtilities: remove needless variable expansions in if() arguments d5333c0923 BundleUtilities: simplify inclusion of GetPrerequisites Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3447
| * | | | | | | | | GetPrerequisites: use CMAKE_OBJDUMP if it is setRolf Eike Beer2019-06-191-1/+3
| | | | | | | | | |
| * | | | | | | | | BundleUtilities: use if(... IN_LIST ...)Rolf Eike Beer2019-06-191-28/+8
| | | | | | | | | |
| * | | | | | | | | BundleUtilities: remove needless variable expansions in if() argumentsRolf Eike Beer2019-06-171-17/+17
| | | | | | | | | |
| * | | | | | | | | BundleUtilities: simplify inclusion of GetPrerequisitesRolf Eike Beer2019-06-171-2/+1
| | | | | | | | | |
* | | | | | | | | | Merge topic 'android-pie-cmp0083'Brad King2019-06-191-0/+20
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e99a95c7d Android: ensure PIE behavior is consistent regardless CMP0083 policy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3459
| * | | | | | | | | Android: ensure PIE behavior is consistent regardless CMP0083 policyMarc Chevrier2019-06-191-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit c4b4d8b3a6 (POSITION_INDEPENDENT_CODE: Manage link flags for executables, 2018-10-02, v3.14.0-rc1~395^2) we accidentally removed our Android-specific logic for PIE under the CMP0083 OLD behavior. Restore it and also implement Android-specific logic for CMP0083 NEW behavior. Fixes: #19393
| * | | | | | | | | Merge branch 'FindThreads-doc-c++' into release-3.14Brad King2019-05-281-3/+0
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3391
* | \ \ \ \ \ \ \ \ \ Merge topic 'FindMPI-imported-link-flags'Brad King2019-06-191-1/+3
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7eaa342de FindMPI: Store imported target link flags as a list instead of a string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3449
| * | | | | | | | | | FindMPI: Store imported target link flags as a list instead of a stringRobert Maynard2019-06-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already use the `separate_arguments` `NATIVE_COMMAND` mode to parse command-line strings into lists in several other places. Fixes: #18897
* | | | | | | | | | | Merge topic 'FindCUDA-more-libs'Brad King2019-06-191-0/+12
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 421be81413 FindCUDA: Add nvToolsExt and OpenCL libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3456
| * | | | | | | | | | | FindCUDA: Add nvToolsExt and OpenCL librariesEyal Rozenberg2019-06-181-0/+12
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Find these libraries with CUDA 5 and above. Fixes: #19386
* | | | | | | | | | | Merge topic 'FindBoost-component'Brad King2019-06-191-5/+157
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | / | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 830b332f32 FindBoost: Add tests for legacy variables 0dd6772a89 FindBoost: Add legacy variables and targets for compatibility e4181eeaf2 FindBoost: Don't overwrite Boost_${_comp}_FOUND 4cb652e1d3 Tests.RunCMake.FindBoost: Fix example BoostConfig 7251d54bd1 Tests.FindBoost: Don't use BoostConfig in MODULE test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3438
| * | | | | | | | | FindBoost: Add legacy variables and targets for compatibilityAlexander Grund2019-06-181-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows future BoostConfig to NOT define those and users relying on them use the newer FindBoost of newer CMake versions