summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fphsa-name-mismatch'Brad King2020-01-206-4/+61
|\ | | | | | | | | | | | | | | | | be4d1bdf9a FPHSA: acknowledge the name mismatches in CMake-owned modules ee4673c1ae FPHSA: detect package name mismatches Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Eric Noulard <eric.noulard@gmail.com> Merge-request: !4123
| * FPHSA: acknowledge the name mismatches in CMake-owned modulesBen Boeckel2020-01-145-1/+8
| |
| * FPHSA: detect package name mismatchesBen Boeckel2020-01-141-3/+53
| | | | | | | | | | | | | | The `FPHSA_NAME_MISMATCHED` variable may be set if this is intentional (but should be cleared after the call to not affect other FPHSA calls). It may also be passed via the `NAME_MISMATCHED` option for new-signature FPHSA calls.
* | Merge topic 'csharp-default-langversion'Brad King2020-01-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 2e882b4275 CSharp: Set C# compiler to default version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4232
| * | CSharp: Set C# compiler to default versionSumit Bhardwaj2020-01-161-1/+1
| |/ | | | | | | | | | | | | | | | | Remove the hard-coded ``/langversion:3`` option and let the compiler choose the default language version automatically as documented at https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version Fixes: #17674
* | Merge topic 'nag-submodule'Brad King2020-01-161-0/+2
|\ \ | | | | | | | | | | | | | | | | | | f7f60ddcf9 Fortran: Add support for NAG Fortran submodules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4229
| * | Fortran: Add support for NAG Fortran submodulesNeil Carlson2020-01-151-0/+2
| | | | | | | | | | | | | | | | | | They use a `.sub` extension. Fixes: #20220
* | | Merge topic 'pch_job_pool'Brad King2020-01-161-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 97c124e30f Ninja: Add a separate job pool for PCH creation ebd0b16ddb vim: Add target_precompile_headers command highlighting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !4224
| * | | Ninja: Add a separate job pool for PCH creationDan Johnston2020-01-161-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | Add a `JOB_POOL_PRECOMPILE_HEADER` target property to specify the pool name, and its associated `CMAKE_JOB_POOL_PRECOMPILE_HEADER` variable. Fixes: #20217
* | | Merge topic 'add_cuda_toolkit_tests'Brad King2020-01-151-12/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e474364d1 CUDAToolkit: No targets now depend on the CUDA runtime 907bb7df57 CUDAToolkit: Gracefully handle missing SDK components e500eb80cd CUDAToolkit: add_cuda_link_dependency correctly sets dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4183
| * | | CUDAToolkit: No targets now depend on the CUDA runtimeRobert Maynard2020-01-141-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | It is not a requirement to have shared|static consistent across your CUDA libraries (e.g curand, nppc ) and your CUDA runtime library. It is entirely allowable to use a static nppc and a shared runtime.
| * | | CUDAToolkit: Gracefully handle missing SDK componentsRobert Maynard2020-01-061-7/+8
| | | |
| * | | CUDAToolkit: add_cuda_link_dependency correctly sets dependenciesRobert Maynard2020-01-031-1/+1
| | | |
* | | | Merge topic 'python39'Brad King2020-01-153-3/+3
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | f6474214b3 FindPython: Add support for version 3.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Marc Chevrier <marc.chevrier@gmail.com> Acked-by: Björn Esser <besser82@fedoraproject.org> Merge-request: !4225
| * | | FindPython: Add support for version 3.9Miro Hrončok2020-01-143-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Development versions of Python 3.9.0 are already out there. See PEP 596 -- Python 3.9 Release Schedule: https://www.python.org/dev/peps/pep-0596/
| * | | Merge topic 'macOS-Xcode-11-frameworks' into release-3.16Brad King2020-01-132-0/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fcde42751a FindPython: ensure new Xcode framework for Python3 is detected dd7b741b81 macOS: Add support for new Xcode 11 frameworks directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4198
* | \ \ \ Merge topic 'FindMatlab-r2019'Brad King2020-01-141-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | edb6fe3b6a FindMatlab: add R2019a and R2019b MATLAB_VERSIONS_MAPPING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4207
| * | | | | FindMatlab: add R2019a and R2019b MATLAB_VERSIONS_MAPPINGSilvio Traversaro2020-01-131-0/+2
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Reference for versions: https://www.mathworks.com/products/compiler/matlab-runtime.html Fixes: #20087
* | | | | Merge topic 'FindMatlab-only-CXX'Brad King2020-01-141-4/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b704d58f41 FindMatlab: in matlab_add_mex use the correct version file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Patrik Huber <patrikhuber@gmail.com> Merge-request: !4206
| * | | | | FindMatlab: in matlab_add_mex use the correct version fileSilvio Traversaro2020-01-131-4/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this modification, the c_mexapi_version.c file was added to all mex libraries. However, if the C language was not enabled in the CMake project configuration, the c_mexapi_version.c file was ignored, creating linking errors in Windows and macOS. This commit ensures that in the case only the CXX languages is enabled, the correct version is passed. Fixes: #19382
* | | | | Merge topic 'vs_populate_CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES'Brad King2020-01-142-27/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ef4a66d694 CUDA: MSVC generators fill CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4179
| * | | | | CUDA: MSVC generators fill CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIESRobert Maynard2020-01-102-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #18733 Correct an oversight where the MSVC generators didn't populate CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.
* | | | | | Merge topic 'findmpi-preserve-include-order'Brad King2020-01-131-28/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5861c6d450 FindMPI: Preserve include order when extracting component directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4153
| * | | | | | FindMPI: Preserve include order when extracting component directoriesChuck Atkins2020-01-101-28/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20098
* | | | | | | Merge topic 'fix-cpack-deb-description-file'Brad King2020-01-132-3/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d491f34a5e CPack: Fix regression in DEB generator description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4204
| * | | | | | | CPack: Fix regression in DEB generator descriptionKyle Edwards2020-01-102-3/+12
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #20102
| * | | | | | Merge topic 'GNUtoMS-vs2019' into release-3.16Brad King2020-01-101-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4197
* | \ \ \ \ \ \ Merge topic 'objc-visibility-inlines'Brad King2020-01-133-7/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7347e2f830 ObjC: Add VISIBLITY_INLINES_HIDDEN support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4199
| * | | | | | | | ObjC: Add VISIBLITY_INLINES_HIDDEN supportCristian Adam2020-01-103-7/+5
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20193
* | | | | | | | Merge topic 'macOS-Xcode-11-frameworks'Brad King2020-01-132-0/+7
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fcde42751a FindPython: ensure new Xcode framework for Python3 is detected dd7b741b81 macOS: Add support for new Xcode 11 frameworks directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4198
| * | | | | | | FindPython: ensure new Xcode framework for Python3 is detectedMarc Chevrier2020-01-101-0/+3
| | | | | | | |
| * | | | | | | macOS: Add support for new Xcode 11 frameworks directoryMarc Chevrier2020-01-101-0/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Update CMAKE_SYSTEM_FRAMEWORK_PATH with new Xcode 11 frameworks directory
* | | | | | | Merge topic 'nvcc-options-version'Brad King2020-01-101-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7560c68f2c CUDA: Fix compiler option version checks for nvcc 10.2.19 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !4161
| * | | | | | | CUDA: Fix compiler option version checks for nvcc 10.2.19Raul Tambre2020-01-031-2/+2
| | | | | | | |
* | | | | | | | Merge topic 'cpack_nsis_avoid_delay'Brad King2020-01-101-9/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9d2816544e CPack/NSIS: Also preload the "UserInfo.dll" plugin 13567bd186 CPack/NSIS: Avoid "setup loading" screen by fixing template order Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4171
| * | | | | | | | CPack/NSIS: Also preload the "UserInfo.dll" pluginPatrick Storz2020-01-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is currently used to provide UserInfo::GetName and UserInfo::GetAccountType functions.
| * | | | | | | | CPack/NSIS: Avoid "setup loading" screen by fixing template orderPatrick Storz2020-01-041-9/+8
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NSIS packages files (including those required by the installer itslef) in the order in which they're mentioned in the .nsi file. If solid compression is used, the installer might need to extract large parts of the archive to be able to even start the setup program ("Please wait while setup is loading..."). Avoid this by moving component installation towards the end of the template file.
* | | | | | | | Merge topic 'GNUtoMS-vs2019'Brad King2020-01-101-1/+1
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4197
| * | | | | | | GNUtoMS: Add search path for VS 2019 environment scriptsBrad King2020-01-091-1/+1
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the logic from commit abe8a623d9 (GNUtoMS: Add search path for VS 2017 environment scripts, 2017-05-19, v3.8.2~1^2) to consider VS 2019 paths too. Fixes: #20162
* | | | | | | Merge topic 'objc-compiler-launcher'Brad King2020-01-102-0/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6ef6e5a73 Merge branch 'backport-3.16-objc-compiler-launcher' 1a9f6bad98 ObjC: Add _COMPILE_LAUNCHER support a05b9d4239 ObjC: Add _COMPILE_LAUNCHER support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4189
| * | | | | | | ObjC: Add _COMPILE_LAUNCHER supportCristian Adam2020-01-092-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20178
* | | | | | | | Merge topic 'findopenssl-dependencies-link-order'Brad King2020-01-101-7/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90973c4abd FindOpenSSL: Fix ordering of dependency link flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4173
| * | | | | | | | FindOpenSSL: Fix ordering of dependency link flagsAshley Whetter2019-12-311-7/+5
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes: #20082
* | | | | | | | FindPython: Add variable Python_SOABIMarc Chevrier2020-01-093-6/+58
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable holds the standard extension suffix for modules. Fixes: #20150
* | | | | | | Merge topic 'fix-check-compiler-flag-gcc-9'Marc Chevrier2020-01-091-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b10e493ac check_LANG_compiler_flag: add the "deprecated switch" message for GCC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4165
| * | | | | | | check_LANG_compiler_flag: add the "deprecated switch" message for GCCAlessandro Menti2019-12-301-0/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the "deprecated switch" message for GCC to CMakeCheckCompilerFlagCommonPatterns.cmake.
* | | | | | | FindLibXml2: ensure consistent paths, version and flag informationSylvain Joubert2020-01-071-5/+14
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As pkg-config is used as hint to perform the actual lookup of libraries and include paths we may not find the pkg-config installation. Mainly this makes sure the pkg-config information are used only if the actual installation reported to the user is the one from pkg-config. Fixes: #20149
* | | | | | FindLibXml2: provide imported target LibXml2::xmllintSylvain Joubert2019-12-311-2/+11
|/ / / / /
* | | | | Merge topic 'implib'Kyle Edwards2019-12-262-4/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 576c2e7a2d Swift: move windows handling into platform file (NFC) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4156
| * | | | Swift: move windows handling into platform file (NFC)Saleem Abdulrasool2019-12-222-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the definition of the import library flags for Windows into a platform specific file (much like the Darwin `-sdk` flag). This is in preparation for re-use of the flag to make the flags handling for executables more precise.