summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Treat the '.mpp' file extension as C++ codeBen Boeckel2021-01-051-1/+1
| | | | This is the extension required in build2 for C++ module support.
* Merge topic 'clang_win32_subsystem'Brad King2021-01-041-0/+3
|\ | | | | | | | | | | | | acfb54bb2f Clang: Support WIN32_EXECUTABLE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5648
| * Clang: Support WIN32_EXECUTABLERaul Tambre2020-12-231-0/+3
| | | | | | | | Fixes #21613.
* | Merge topic 'tests-bump-minver'Brad King2021-01-041-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 72e7c45e98 Tests: Bump CMake minimum required in tests to 2.8.12 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5644
| * | Tests: Bump CMake minimum required in tests to 2.8.12Chuck Atkins2020-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Since 3.19, CMake generates a deprecation warning when using a minimum version less than 2.8.12. This eliminates those warnings generated during tests, which are typically hidden from the user and developer but are being generated nonetheless.
* | | Merge topic 'FindGTK2-atkmmconfig'Brad King2020-12-231-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9e5e312210 FindGTK2: Find atkmmconfig.h separately from atkmm.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5645
| * | | FindGTK2: Find atkmmconfig.h separately from atkmm.hJani Välimaa2020-12-221-0/+1
| |/ / | | | | | | | | | | | | | | | | | | The former may be installed into libdir instead of includedir. We already do this for several other components. Fixes: #21627
* | | Merge topic 'cpack-nuget-linux'Brad King2020-12-231-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | dade75509f CPack/NuGet: Fix nuspec file generation for UNIX-style OS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5640
| * | CPack/NuGet: Fix nuspec file generation for UNIX-style OSiorikyu2020-12-221-1/+1
| | | | | | | | | | | | Use forward slashes, which should work on both UNIX and Windows.
* | | Merge topic 'fc-relative-SOURCE_DIR'Craig Scott2020-12-221-1/+8
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 51595e5f01 FetchContent: Relative SOURCE_DIR override cannot be a hard error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5641
| * | FetchContent: Relative SOURCE_DIR override cannot be a hard errorCraig Scott2020-12-221-1/+8
| | | | | | | | | Fixes: #21624
| * | CMakePackageConfigHelpers: Relax restrictions on version rangeMarc Chevrier2020-12-143-29/+53
| | |
| * | Merge topic 'FindGLUT-macos-tbd' into release-3.19Brad King2020-12-141-2/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | d29d034e2e FindGLUT: Handle Mojave and Big Sur 'tbd' framework files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5601
* | \ \ Merge topic 'external-project-drop-success'Brad King2020-12-221-2/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 850de767e9 ExternalProject: Silence step succeeded message when using Ninja Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5625
| * | | | ExternalProject: Silence step succeeded message when using NinjaDaan De Meyer2020-12-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When doing an ExternalProject superbuild with all output logged to files, the output currently looks as follows: ``` [652/904] Performing install step for 'plasma-framework' -- plasma-framework install command succeeded. See also /root/build/kde/frameworks/plasma-framework/log/plasma-framework-install-*.log [658/904] Performing build step for 'khtml' -- khtml build command succeeded. See also /root/build/kde/frameworks/khtml/log/khtml-build-*.log [659/904] Performing install step for 'khtml' -- khtml install command succeeded. See also /root/build/kde/frameworks/khtml/log/khtml-install-*.log [661/904] Performing configure step for 'krunner' -- krunner configure command succeeded. See also /root/build/kde/frameworks/krunner/log/krunner-configure-*.log [661/904] Performing build step for 'krunner' ``` More specifically, because a success line is printed for every succeeded step, we lose the advantage of Ninja's progress bar which will now also print a new line instead of updating the same link as happens when using Ninja in a normal CMake project. By silencing the success message when using the Ninja generator, Ninja's progress bar works as expected and updates inline instead of printing a new line for each progress update. With this change, the above output is reduced to a single line progress bar: ``` [661/904] Performing build step for 'krunner' ```
* | | | | Merge topic 'FindOpenSSL-win-arch'Brad King2020-12-221-5/+19
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | a6e03b2e6f FindOpenSSL: Distinguish 32-bit and 64-bit search paths on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5630
| * | | | FindOpenSSL: Distinguish 32-bit and 64-bit search paths on WindowsMa Br2020-12-211-5/+19
| |/ / / | | | | | | | | | | | | Fixes: #21611
* | | | CMakeDetermineCompilerId: Ensure CMAKE_EXECUTABLE_FORMAT is INTERNALCraig Scott2020-12-171-2/+2
|/ / / | | | | | | Fixes: #21607
* | | Merge topic 'FindQt3-find-sig'Brad King2020-12-151-2/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 38fce6d23b FindQt3: Add missing NAMES/PATHS keywords to find_ calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5611
| * | | FindQt3: Add missing NAMES/PATHS keywords to find_ callsBrad King2020-12-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | These are needed when using `PATH_SUFFIXES` to get the full signatures. Fixes: #21594
* | | | CMakePackageConfigHelpers: Relax restrictions on version rangeMarc Chevrier2020-12-143-28/+52
|/ / /
* | | Merge topic 'FindMatlab-MCR'Brad King2020-12-141-32/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9c360b9eea FindMatlab: Fix search for MCR bda5e2ac8f FindMatlab: Only include engine and dataarray libraries if they are found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5600
| * | | FindMatlab: Fix search for MCRNikolaj Fogh2020-12-111-29/+47
| | | | | | | | | | | | | | | | Fixes: #21068, #21582
| * | | FindMatlab: Only include engine and dataarray libraries if they are foundNikolaj Fogh2020-12-111-3/+6
| | | |
* | | | Merge topic 'FindGLUT-macos-tbd'Brad King2020-12-141-2/+10
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | d29d034e2e FindGLUT: Handle Mojave and Big Sur 'tbd' framework files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5601
| * | | FindGLUT: Handle Mojave and Big Sur 'tbd' framework filesRobert Maynard2020-12-111-2/+10
| | | |
* | | | Merge topic 'macos-homebrew-apple-silicon'Brad King2020-12-141-0/+7
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 1a5c1a68b6 macOS: Add /opt/homebrew to CMAKE_SYSTEM_PREFIX_PATH on Apple Silicon Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Fons Rademakers <fons.rademakers@cern.ch> Merge-request: !5602
| * | | macOS: Add /opt/homebrew to CMAKE_SYSTEM_PREFIX_PATH on Apple SiliconBrad King2020-12-111-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | According to https://brew.sh/2020/12/01/homebrew-2.6.0/ the `/opt/homebrew` directory is recommended for installing ARM architecture brew packages. Fixes: #21585
* | | | Merge topic 'apple-silicon-host-arch'Brad King2020-12-112-13/+41
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | | | | b7f0327dcd Tests: Cover macOS host architecture selection on Apple Silicon hosts 5f882f6ce5 macOS: Offer control over host architecture on Apple Silicon hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5589
| * | macOS: Offer control over host architecture on Apple Silicon hostsBrad King2020-12-102-13/+41
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit b6c60f14b6 (macOS: Default to arm64 architecture on Apple Silicon hosts, 2020-09-28, v3.19.0-rc1~63^2) we use `sysctl` to detect that we are running on Apple Silicon in a way that pierces Rosetta. This always sets `CMAKE_HOST_SYSTEM_PROCESSOR` to be `arm64` on such hosts. However, macOS offers strong support for running processes under an emulated `x86_64` architecture. Teach CMake to select either `arm64` or `x86_64` as the host architecture on Apple Silicon based on the architecture of its own process. When CMake is built as a universal binary, macOS will select whichever slice (architecture) is appropriate under the user's shell, and `CMAKE_HOST_SYSTEM_PROCESSOR` will match. Also offer a `CMAKE_APPLE_SILICON_PROCESSOR` variable and environment variable to provide users with explicit control over the host architecture selection regardless of CMake's own architecture. Finally, if `CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the toolchain to use selected host architecture instead of letting the toolchain pick. Fixes: #21554
| * Merge topic 'ispc-system-includes' into release-3.19Brad King2020-12-101-2/+0
| |\ | | | | | | | | | | | | | | | | | | 8da25e4a3c ISPC: Treat system includes as '-I' includes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5591
| * \ Merge topic 'FindPython-python2-soabi-suffix-fix' into release-3.19Brad King2020-12-081-2/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | afb0ffcac7 FindPython2: avoid doubling the extension in CPython2 SOABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5574
* | \ \ Merge topic 'cpp23'Brad King2020-12-1010-35/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9f3c70a333 CUDA, CXX, OBJCXX: C++23 support with Clang 12 af7e1545c8 CUDA, CXX: Remove HAS_FULL_SUPPORT for C++17 and 20 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5576
| * | | | CUDA, CXX, OBJCXX: C++23 support with Clang 12Raul Tambre2020-12-089-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | | Clang 12 landed initial support for C++23 language mode flag -std={c|gnu}++2b in commit 6627a3c2873fdf7ccba1a1573371079be48b36e8.
| * | | | CUDA, CXX: Remove HAS_FULL_SUPPORT for C++17 and 20Raul Tambre2020-12-083-31/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake has no features for C++ versions past 14 and it seems unlikely we'd want to add any. Remove the related code.
* | | | | Merge topic 'EML-Support'Brad King2020-12-102-0/+59
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6df83a690 Find{BLAS,LAPACK}: Add support for Elbrus Math Library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5590
| * | | | | Find{BLAS,LAPACK}: Add support for Elbrus Math LibraryIgor S. Gerasimov2020-12-092-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | http://mossigplan.acm.org/EML_introduction_engl.pdf
* | | | | | Merge topic 'ispc-system-includes'Brad King2020-12-101-2/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8da25e4a3c ISPC: Treat system includes as '-I' includes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5591
| * | | | | ISPC: Treat system includes as '-I' includesRobert Maynard2020-12-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | ISPC doesn't have specific syntax for system includes.
* | | | | | Merge topic 'gen-vs-intel-dpcpp-compiler-support'Brad King2020-12-091-3/+10
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7808cbd644 CMakeDetermineCompilerId: support Intel DPC++ compiler toolset for VS gen Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5579
| * | | | | CMakeDetermineCompilerId: support Intel DPC++ compiler toolset for VS genNikita Sirgienko2020-12-061-3/+10
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before Intel have only one compiler icl (Intel(R) C++ compiler) and CMakeDetermineCompilerId has considered, that all toolchains with a word "Intel" in the toolchain name is a icl compiler. But now Intel have also other compiler - Intel(R) DPC++ compiler, which haven't working with cmake on Visual Studio Generator because cmake try to use icl compiler, which cmake can't found and because of this fails the configuration. This commit fix this problem, and both compilers start to work correctly with Visual Studio generator. Fixes: #21546
* | | | | Merge topic 'FindPython-python2-soabi-suffix-fix'Brad King2020-12-081-2/+10
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | afb0ffcac7 FindPython2: avoid doubling the extension in CPython2 SOABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5574
| * | | | FindPython2: avoid doubling the extension in CPython2 SOABIBen Boeckel2020-12-041-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 951640f1f9 (FindPython: manage SOABI for all Python versions, 2020-08-11) extended support for Python2's SOABI variable in order to support the PyPy interpreter as well. This caused a regression in the way that the SOABI variable was built up for the CPython interpreter. This caused the variable to be set to `.so` which ended up causing a doubling of the resulting `SOABI` variable in the end. Co-Author: Marc Chevrier <marc.chevrier@gmail.com> Fixes: #21548
* | | | | Merge topic 'remove-partial-intel-compiler-support'Brad King2020-12-083-16/+0
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | | | | | 41b69348a5 Revert "Intel: Add Intel DPC++ compiler identification" f0babb53b3 Revert "Intel: Add Intel Clang compiler identification" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !5583
| * | | Revert "Intel: Add Intel DPC++ compiler identification"Brad King2020-12-072-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 887f3a88a6 (Intel: Add Intel DPC++ compiler identification, 2020-09-21, v3.19.0-rc1~124^2). The compiler has already been released, and is more usable with CMake by pretending to be upstream Clang than by identifying it as a compiler for which we have not implemented support. Fixes: #21551
| * | | Revert "Intel: Add Intel Clang compiler identification"Brad King2020-12-072-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 5c3a93ab88 (Intel: Add Intel Clang compiler identification, 2020-09-29, v3.19.0-rc1~68^2). The compiler has already been released, and is more usable with CMake by pretending to be upstream Clang than by identifying it as a compiler for which we have not implemented support. Issue: #21551
* | | | WriteCompilerDetectionHeader: Add policy to remove moduleBrad King2020-12-051-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | See justification in the policy documentation. Closes: #17842
* | | | Merge topic 'GoogleTest-disabled-underscore'Brad King2020-12-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dff56b0b97 GoogleTest: Match the full 'DISABLED_' prefix to disable tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Matthew Woehlke <matthew.woehlke@kitware.com> Merge-request: !5567
| * | | | GoogleTest: Match the full 'DISABLED_' prefix to disable testsBrad King2020-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test names that start in `DISABLED` not followed by an underscore are not disabled. Fixes: #21543
* | | | | Merge topic 'explicit-LANGUAGE-flag'Brad King2020-12-0412-4/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48aac247e9 Compile with explicit language flag when source LANGUAGE property is set 2e67a75acd Embarcadero: Simplify addition of -P flag for C++ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5522