summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'if-check-file-permissions'Brad King2023-11-026-1/+238
|\ | | | | | | | | | | | | | | 337bc5662c if(): add operators IS_READABLE, IS_WRITABLE and IS_EXECUTABLE. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8908
| * if(): add operators IS_READABLE, IS_WRITABLE and IS_EXECUTABLE.Marc Chevrier2023-11-016-1/+238
| | | | | | | | Offers possibility to check for file or directory permissions.
* | Merge topic 'Genex-LINK_LIBRARY-updates'Brad King2023-11-021-4/+4
|\ \ | | | | | | | | | | | | | | | | | | 1b8ceaef85 Genex LINK_LIBRARY: fix some definitions for Apple platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8936
| * | Genex LINK_LIBRARY: fix some definitions for Apple platformsMarc Chevrier2023-11-011-4/+4
| |/ | | | | | | | | | | | | | | Some declarations were inconsistent. For example, "LINKER:-force_load <LIBRARY>" was translated to "-Xlinker -force_load /path/to/library". The correct translation should be "-Xlinker -force_load -Xlinker /path/to/library" because the library is an argument to the -force_load option.
* | Merge topic 'findwxwidgets-lexilla'Brad King2023-11-021-27/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90b77e3783 FindwxWidgets: link with lexilla f8831a0c9e FindwxWidgets: Convert include and library paths to cmake-style d76242ed9f FindwxWidgets: Prevent searching libraries multiple times 55072adf16 FindwxWidgets: Improve linking with scintilla c5e3d12213 FindwxWidgets: Move wx-config specific checks inside UNIX find-style 625023cace FindwxWidgets: Include hotfix number 35d90784e9 FindwxWidgets: use IN_LIST Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8927
| * | FindwxWidgets: link with lexillaMaarten Bent2023-11-011-4/+7
| | | | | | | | | | | | | | | In wxWidgets 3.3 (development version) the Scintilla library has been split into two components: Scintilla and Lexilla.
| * | FindwxWidgets: Convert include and library paths to cmake-styleMaarten Bent2023-11-011-0/+3
| | | | | | | | | | | | This fixes DBG_MSG errors when a path uses \ instead of /.
| * | FindwxWidgets: Prevent searching libraries multiple timesMaarten Bent2023-11-011-0/+3
| | | | | | | | | | | | If the user has specified common libraries, remove the duplicates.
| * | FindwxWidgets: Improve linking with scintillaMaarten Bent2023-11-011-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | Treat scintilla like any other common lib. Only add it when the stc component is specified. Add imm32 to the list of required libraries when stc is used. Fixes: #23519
| * | FindwxWidgets: Move wx-config specific checks inside UNIX find-styleMaarten Bent2023-11-011-20/+20
| | |
| * | FindwxWidgets: Include hotfix numberMaarten Bent2023-11-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Add it to the wxWidgets_VERSION_STRING when it is not 0. Include hotfix numbers when searching for installation paths, for example wxWidgets-3.2.2.1. Fixes: #24823
| * | FindwxWidgets: use IN_LISTMaarten Bent2023-11-011-2/+6
| | |
* | | CMake Nightly Date StampKitware Robot2023-11-021-1/+1
| | |
* | | Merge branch 'release-3.28'Brad King2023-11-010-0/+0
|\ \ \
| * \ \ Merge topic 'cxxmodules-cmp0155-graceful-fallback-without-scanner' into ↵Brad King2023-11-0114-30/+54
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release-3.28 1f507580a1 cmGlobalGenerator: give context about module queries 889aa0354a CMP0155: ignore scanning for sources if no scanner is available Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8925
* | \ \ \ Merge topic 'cxxmodules-cmp0155-graceful-fallback-without-scanner'Brad King2023-11-0114-30/+54
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1f507580a1 cmGlobalGenerator: give context about module queries 889aa0354a CMP0155: ignore scanning for sources if no scanner is available Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8925
| * | | | cmGlobalGenerator: give context about module queriesBen Boeckel2023-11-015-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some queries are merely investigating support in order to change behavior. Let the method know so that any internal errors can be skipped over.
| * | | | CMP0155: ignore scanning for sources if no scanner is availableBen Boeckel2023-11-0110-23/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for a more graceful transition for projects using C++20 without scanner support (e.g., Clang 15 or GCC 13). While newer compilers will (needlessly) scan, it allows C++20-using projects to use older compilers without having to set `CMAKE_CXX_SCAN_FOR_MODULES` to support newer CMake minimum versions. Fixes: #25357
* | | | | Merge branch 'release-3.28'Brad King2023-11-010-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'ctest-windows-color' into release-3.28Brad King2023-11-011-10/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2553a78aa7 ctest: Allow colored output on Windows if CLICOLOR_FORCE is set to 1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8932
* | \ \ \ \ Merge topic 'ctest-windows-color'Brad King2023-11-011-10/+5
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2553a78aa7 ctest: Allow colored output on Windows if CLICOLOR_FORCE is set to 1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8932
| * | | | | ctest: Allow colored output on Windows if CLICOLOR_FORCE is set to 1Cristian Adam2023-11-011-10/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows 10 supports ANSI colors since v1511. For earlier versions of Windows installing ANSICON will enable ANSI colors in cmd.exe. For those setups where the environment is set up with CLICOLOR_FORCE set to 1 ctest should honor the setting and emit colored ANSI output.
* | | | | Merge branch 'release-3.28'Brad King2023-11-010-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'release-3.27' into release-3.28Brad King2023-11-010-0/+0
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.27'Brad King2023-11-010-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'revert-GetPrerequisites-linux-x86' into release-3.27Brad King2023-11-011-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !8933
* | \ \ \ \ \ Merge branch 'release-3.28'Brad King2023-11-010-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'revert-GetPrerequisites-linux-x86' into release-3.28Brad King2023-11-011-1/+1
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 139df0bc2f GetPrerequisites: Revert "Ignore relative paths printed by ldd" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8933
* | | | | | | Merge topic 'revert-GetPrerequisites-linux-x86'Brad King2023-11-011-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | / | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 139df0bc2f GetPrerequisites: Revert "Ignore relative paths printed by ldd" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8933
| * | | | | GetPrerequisites: Revert "Ignore relative paths printed by ldd"Brad King2023-10-311-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit cf2ad9995a (GetPrerequisites: Ignore relative paths printed by ldd, 2023-02-20, v3.27.0-rc1~459^2) because it regressed existing use cases. We will need to find another solution to the use case motivating the change. Fixes: #25372
* | | | | CMake Nightly Date StampKitware Robot2023-11-011-1/+1
| | | | |
* | | | | Merge topic 'UseEcos-doc'Brad King2023-10-311-15/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b95d0ca0f UseEcos: Improve documentation formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8931
| * | | | | UseEcos: Improve documentation formatting權少2023-10-311-15/+25
| | | | | |
* | | | | | Merge branch 'release-3.28'Brad King2023-10-310-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge branch 'release-3.27' into release-3.28Brad King2023-10-310-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | |
* | | | | | Merge branch 'release-3.27'Brad King2023-10-310-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'modules-depends-via-target-objects' into release-3.27Brad King2023-10-3111-2/+90
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !8923
* | \ \ \ \ \ Merge branch 'release-3.28'Brad King2023-10-310-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'modules-depends-via-target-objects' into release-3.28Brad King2023-10-3111-2/+90
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22da18b995 Fortran: Restore support for TARGET_OBJECTS providing modules 64d9240564 cmComputeLinkInformation: skip over linking to items for object purposes 035302b7e3 cmComputeLinkDepends: also copy the target from object link items 861876b936 Tests/ObjectLibrary: fix comment Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8923
* | | | | | | Merge topic 'modules-depends-via-target-objects'Brad King2023-10-3111-2/+90
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22da18b995 Fortran: Restore support for TARGET_OBJECTS providing modules 64d9240564 cmComputeLinkInformation: skip over linking to items for object purposes 035302b7e3 cmComputeLinkDepends: also copy the target from object link items 861876b936 Tests/ObjectLibrary: fix comment Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8923
| * | | | | | Fortran: Restore support for TARGET_OBJECTS providing modulesBen Boeckel2023-10-309-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Continue b665966933 (cmComputeLinkInformation: track OBJECT library dependencies, 2023-07-22) which added explicitly listed `OBJECT` libraries to the list of targets which the collator needs to consider. Now also consider targets which provide objects directly to the target via a `$<TARGET_OBJECT>` source lists. Also add tests which use target objects directly and through an `INTERFACE` library with target objects in its own sources. Fixes: #25365
| * | | | | | cmComputeLinkInformation: skip over linking to items for object purposesBen Boeckel2023-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a name is only found because it is a link entry of kind `Object`, do not add anything to the link line.
| * | | | | | cmComputeLinkDepends: also copy the target from object link itemsBen Boeckel2023-10-271-0/+1
| | | | | | |
| * | | | | | Tests/ObjectLibrary: fix commentBen Boeckel2023-10-271-1/+1
| | | | | | |
* | | | | | | Merge branch 'release-3.28'Brad King2023-10-310-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge topic 'FindFreeType-config-windows' into release-3.28Brad King2023-10-311-2/+32
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0117446c97 FindFreeType: also set `FREETYPE_FOUND` 2cf2d4f7df FindFreeType: insert Freetype's location to the start 1cfc708eea FindFreeType: handle config-specific `LOCATION` settings as well ae9890cd36 FindFreeType: consider `IMPLIB`-using platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8920
* | \ \ \ \ \ \ Merge topic 'FindFreeType-config-windows'Brad King2023-10-311-2/+32
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | / / / | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0117446c97 FindFreeType: also set `FREETYPE_FOUND` 2cf2d4f7df FindFreeType: insert Freetype's location to the start 1cfc708eea FindFreeType: handle config-specific `LOCATION` settings as well ae9890cd36 FindFreeType: consider `IMPLIB`-using platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8920
| * | | | | | FindFreeType: also set `FREETYPE_FOUND`Ben Boeckel2023-10-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25371
| * | | | | | FindFreeType: insert Freetype's location to the startBen Boeckel2023-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should help static builds satisfy dependencies by listing transitive libraries after freetype's.
| * | | | | | FindFreeType: handle config-specific `LOCATION` settings as wellBen Boeckel2023-10-281-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `vcpkg` builds release and debug variants on platforms other than Windows (which uses the `IMPLIB` properties).