summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindMatlab-version'Brad King2023-09-121-24/+43
|\ | | | | | | | | | | | | 8ea398a7af FindMatlab: Prefer to use VersionInfo.xml to get version, fallback to run Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8760
| * FindMatlab: Prefer to use VersionInfo.xml to get version, fallback to runscivision2023-09-101-24/+43
| | | | | | | | | | | | | | | | | | | | | | | | Parsing the version file is much faster than running Matlab. It also improves reliability as Matlab silently quits or hangs in some misconfigured environments. For old Matlab, falls back to running Matlab. also refactor file(STRINGS => file(READ as whole file was read anyway Fixes: #25209
* | Merge topic 'FindPkgConfig_extra_whitespace'Brad King2023-09-121-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | d47771bbb9 FindPkgConfig: ignore whitespace separators in version check Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8789
| * | FindPkgConfig: ignore whitespace separators in version checkPaul Zander2023-09-091-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | The regex used to split up the version if it contains an operator fails if the string contains whitespaces. Resulting in an extra whitespace after the package name and before the package version leading to breakage in pkgconf and thus webkit-gtk. See: https://github.com/pkgconf/pkgconf/issues/317 https://bugs.webkit.org/show_bug.cgi?id=261125 https://bugs.gentoo.org/913644
* | Merge topic 'FindBoost-1.83'Brad King2023-09-121-3/+17
|\ \ | | | | | | | | | | | | | | | | | | 897a149067 FindBoost: Add support for Boost 1.83 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8793
| * | FindBoost: Add support for Boost 1.83Brad King2023-09-111-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the list of known versions. Run the command cmake -DBOOST_DIR=/path/to/boost_1_83_0 \ -P Utilities/Scripts/BoostScanDeps.cmake to extract dependencies from the 1.83.0 source tree. Dependencies differ from 1.82, as mentioned in the 1.83 release notes: * Boost.Timer no longer depends on Boost.Chrono Fixes: #25243
* | | Merge topic 'FortranCInterface-macos-deployment-target'Brad King2023-09-121-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84a097f038 FortranCInterface: forward `CMAKE_OSX_DEPLOYMENT_TARGET` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8790
| * | | FortranCInterface: forward `CMAKE_OSX_DEPLOYMENT_TARGET`Ben Boeckel2023-09-111-0/+1
| |/ / | | | | | | | | | | | | GCC needs to be taught about every macOS release it seems, so older builds may not support usage on newer releases by default.
* | | FindLua{50,51}: Fix preformatted documentation blocks權少2023-09-082-23/+5
| |/ |/| | | | | Avoid duplicate `::`.
* | Merge topic 'FindFreetype-use-config'Brad King2023-09-081-0/+58
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | d83d925045 FindFreetype: use `freetype-config.cmake` if available Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Ryan Krattiger <ryan.krattiger@kitware.com> Merge-request: !8775
| * | FindFreetype: use `freetype-config.cmake` if availableBen Boeckel2023-09-061-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The official `freetype-config.cmake` provides `Freetype::Freetype` as an `INTERFACE` library to its exported `freetype` target. This ends up causing issues if CMake's Find module is used to define `Freetype::Freetype` before using `freetype-config` because some, but not all, of its defined targets are already available triggering the generated code that detects such situations. Instead, try to use `freetype-config` where possible and provide bridge logic for this module's variable guarantees.
* | | Merge topic 'IntelLLVM-debug-flags'Brad King2023-09-081-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e30f0f89af IntelLLVM: Suppress -Rdebug-disables-optimization on debug builds Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: LecrisUT <github@lecris.me> Merge-request: !8764
| * | | IntelLLVM: Suppress -Rdebug-disables-optimization on debug buildsBram Metsch2023-09-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | IntelLLVM 2023.0.0 and above emit this remark if `-g` is used without any `-O<level>` flag, which is our default behavior. Add another flag to suppress the remark.
* | | | Merge topic 'FindPkgConfig-system-cflags'Brad King2023-09-071-1/+13
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 252c66c697 FindPkgConfig: Tolerate PKG_CONFIG_SYSTEM_INCLUDE_PATH in environment 4507883135 Tests: Rename RunCMake.FindPkgConfig LIBRARY_PATH case to SYSTEM_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8768
| * | | FindPkgConfig: Tolerate PKG_CONFIG_SYSTEM_INCLUDE_PATH in environmentCristian Le2023-09-061-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell `pkg-config --cflags` not to filter out `-I` flags for entries of `PKG_CONFIG_SYSTEM_INCLUDE_PATH` (and `CPATH` for `pkgconf`). Fixes: #25228
* | | | Merge topic 'nsis-correct-jump'Brad King2023-09-061-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3bfe0ea44 CPack/NSIS: Fix incorrect jump for standard user Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8767
| * | | | CPack/NSIS: Fix incorrect jump for standard userSprite2023-09-051-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Revert an incorrect change from commit c4a0bcea77 (CPack: Fix NSIS handling of privileged users, 2012-02-01, v2.8.8~230^2). Fixes: #13939
* | | | Merge topic 'FindMatlab'Brad King2023-09-061-11/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d7fe9981c FindMatlab: use if(IS_DIRECTORY) for directories instead of EXISTS cf554750dd FindMatlab: no if(NOT EXIST) guard needed for file(MAKE_DIRECTORY) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8759
| * | | | FindMatlab: use if(IS_DIRECTORY) for directories instead of EXISTSscivision2023-08-271-8/+8
| | | | |
| * | | | FindMatlab: no if(NOT EXIST) guard needed for file(MAKE_DIRECTORY)scivision2023-08-271-3/+1
| |/ / /
* | | | Merge topic 'FindGLEW-mingw'Brad King2023-09-061-0/+4
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | a37a04b5c6 FindGLEW: Use correct library suffixes on MinGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8766
| * | | FindGLEW: Use correct library suffixes on MinGWمهدي شينون (Mehdi Chinoune)2023-09-031-0/+4
| |/ /
* | | macOS: Simplify imported framework locations in find modulesBrad King2023-08-253-68/+25
|/ / | | | | | | | | | | | | | | | | | | | | | | Take advantage of commit d605f728f7 (macOS: Allow IMPORTED_LOCATION to be a framework folder, 2023-06-16) to remove special-case framework logic from find modules. This changes link lines from `/path/to/Foo.framework/Foo[.tbd]` to `-framework Foo`. With the latter, the linker will automatically choose the `.tbd` if it exists. Issue: #24946
* | Merge topic 'FindZLIB-1.3'Brad King2023-08-231-18/+17
|\ \ | |/ | | | | | | | | | | | | 9034394950 FindZLIB: Fix extraction of two-component version number 1.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8753
| * FindZLIB: Fix extraction of two-component version number 1.3Brad King2023-08-221-18/+17
| | | | | | | | Fixes: #25200
| * Merge topic 'LLVMFlang-Fortran-flags' into release-3.27Brad King2023-08-191-0/+4
| |\ | | | | | | | | | | | | | | | | | | 1140087ade LLVMFlang-Fortran: Add flags for build types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8741
* | \ Merge topic 'doc'Brad King2023-08-221-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d2c30ac063 Help:CheckCXXSymbolExists: refer to CheckSourceCompiles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8746
| * | | Help:CheckCXXSymbolExists: refer to CheckSourceCompilesscivision2023-08-211-1/+1
| | | | | | | | | | | | | | | | This was just missed in the earlier MR.
* | | | Merge topic 'ep-svn-trust-cert-non-interactive'Craig Scott2023-08-211-2/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1509658a0 ExternalProject: Ensure svn --trust-server-cert has dependent options Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8745
| * | | | ExternalProject: Ensure svn --trust-server-cert has dependent optionsCraig Scott2023-08-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the --trust-server-cert option is given to svn without the --non-interactive option, the command fails with an error. Previously, --non-interactive was always added, but b1c2cb0436a (ExternalProject: Make SVN interactive with USES_TERMINAL_{DOWNLOAD,UPDATE}, 2022-05-06) changed the behavior to only add it if the relevant USES_TERMINAL_... option was set to true. Fixes: #25197
* | | | | Merge topic 'imported-cxxmodules'Brad King2023-08-212-0/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48ee946fdc cmExperimental: recycle the C++ modules API UUID 1a1806a71b gitlab-ci: declare `bmionly` support for modules where possible 457a12f3f9 Tests/RunCMake/CXXModules: add tests which use modules from imported targets 9b9ec70b54 Ninja: generate scanning and build rules for C++20 module synthetic targets 80ef50a191 CXXModules: add a variable for BMI-only compilation 80d6544398 cxxmodules: generate synthetic targets as an initial pass 3dc6676ecc cmSyntheticTargetCache: add a struct for synthetic target caching cb356b540c cmCxxModuleUsageEffects: add a class to capture module usage effects ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8535
| * | | | CXXModules: add a variable for BMI-only compilationBen Boeckel2023-08-172-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This will be required when dealing with imported targets which contain modules.
* | | | | Merge topic 'LLVMFlang-Fortran-flags'Brad King2023-08-191-0/+4
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 1140087ade LLVMFlang-Fortran: Add flags for build types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8741
| * | | | LLVMFlang-Fortran: Add flags for build typesTarun Prabhu2023-08-191-0/+4
| | | | | | | | | | | | | | | | | | | | Fixes: #25193
* | | | | Merge topic 'vs-props-order'Brad King2023-08-192-4/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | e4fe26201f VS: Remove duplicate import in compiler id vcxproj Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8740
| * | | | VS: Remove duplicate import in compiler id vcxprojBrad King2023-08-182-4/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Since commit d3c4c6d630 (VS: Import default C++ props file before toolset-specific props file, 2023-03-01, v3.27.0-rc1~361^2) we import `Microsoft.Cpp.Default.props` twice. Remove the extra import line, and re-order imports as intended by the original change.
| * | | Merge topic 'clang_c23' into release-3.27Brad King2023-08-161-1/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65288eb92a Clang: use -std=c23 for Clang 18+ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8716
| * \ \ \ Merge topic 'FindPython-3.13' into release-3.27Brad King2023-08-163-3/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfab044c44 FindPython: add support for Python 3.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8712
| * \ \ \ \ Merge topic 'TAPI-is-Apple-only' into release-3.27Brad King2023-08-151-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b0f0dc257 Apple Text Stubs (.tbd): various fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8708
* | \ \ \ \ \ Merge topic 'msvc-llvm-mt'Brad King2023-08-171-1/+1
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c0f701990 MSVC: Run manifest tool with llvm-mt compatible arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8706
| * | | | | | MSVC: Run manifest tool with llvm-mt compatible argumentsur4t2023-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default use of `llvm-mt` was disabled by commit 73d0d4e4b5 (BinUtils: Avoid llvm-mt because it is missing 'mt' features we use, 2022-03-08, v3.23.0-rc3~7^2). However, it can still be specified explicitly by the user. Due to limitations of LLVM's command line option parser, llvm-mt does not support arbitrary manifest files following a single switch. Issue: #23305
* | | | | | | Merge topic 'ExternalProject-build-jobserver'Brad King2023-08-161-0/+40
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bc43398e72 ExternalProject: Enable Make Job Server with Explicit Build Command 99be022428 Tests/RunCMake/Make: simplify GNUMakeJobSeverAware check function Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8667
| * | | | | | | ExternalProject: Enable Make Job Server with Explicit Build CommandChris Mahoney2023-08-151-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces `BUILD_JOB_SERVER_AWARE` option to `ExternalProject_Add` and `JOB_SERVER_AWARE` to `ExternalProject_Add_Step`. When using an explicit `BUILD_COMMAND` or `COMMAND`, the generated commands won't use `$(MAKE)` thus failing to connect to the outer make's job server. These new options enable explicit job server integration. Co-authored-by: Brad King <brad.king@kitware.com> Fixes: #16273
* | | | | | | | Merge topic 'clang_c23'Brad King2023-08-161-1/+4
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65288eb92a Clang: use -std=c23 for Clang 18+ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8716
| * | | | | | | Clang: use -std=c23 for Clang 18+Raul Tambre2023-08-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Canonical flag changed in LLVM commit 13629b140801870feff855ca168edf6b34dbef8d.
* | | | | | | | Merge topic 'FindPython-3.13'Brad King2023-08-163-3/+3
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | / / | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | dfab044c44 FindPython: add support for Python 3.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8712
| * | | | | | FindPython: add support for Python 3.13Vasily Ryabov2023-08-153-3/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Python 3.13.0a0 can be built from main branch of python/cpython though there were no official releases yet.
* | | | | | Merge topic 'TAPI-is-Apple-only'Brad King2023-08-151-1/+1
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b0f0dc257 Apple Text Stubs (.tbd): various fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8708
| * | | | | Apple Text Stubs (.tbd): various fixesMarc Chevrier2023-08-111-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ensure tapi lookup is applied only for concerned toolchains * fix typos in tests Fixes: #25182
* | | | | Merge topic 'FindJNI-no-xcode'Brad King2023-08-151-5/+9
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | 597139b853 FindJNI: Restore support for macOS without Xcode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8707