summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: Use new SetProperty signaturesMarc Chevrier2021-08-2512-32/+30
|
* Enhancement: SetProperty accept cmProp or std::stringMarc Chevrier2021-08-2516-56/+154
| | | | | Methods SetProperty of classes cmPropertyMap, cmStateDirectory and cmMakefile accept now cmProp or std::string as argument.
* Merge topic 'refactor-reduce-cmToCStr-usage'Brad King2021-08-2418-69/+83
|\ | | | | | | | | | | | | | | 5a2a275bb4 Refactor: reduce cmToCStr usage 2984df9100 Refactor: cmHasPrefix and cmHasSuffix accept now cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6455
| * Refactor: reduce cmToCStr usageMarc Chevrier2021-08-1917-69/+62
| |
| * Refactor: cmHasPrefix and cmHasSuffix accept now cmPropMarc Chevrier2021-08-191-0/+21
| |
* | Merge topic 'host-distro-info'Brad King2021-08-2442-218/+991
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9698f89df cmake_host_system_information: Make it available for all systems 5469c71a82 Refactor: Simplify `GetValue()` function calls 6c92f80f2e cmake_host_system_information: Also set `USED_FALLBACK_SCRIPT` efe139d1b8 cmake_host_system_information: Can run fallback scripts 1e65e4a6e5 cmake_host_system_information: Can read `/etc/os-release` file e808cbb1dd Testing: Convert `cmake_host_system_information` tests into `RunCMake` 9e831284e5 Documentation: Use definition list instead of tables 346f3de005 Refactor: Deduplicate code for `VS_nn_DIR` keys processing ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6410
| * | cmake_host_system_information: Make it available for all systemsAlex Turbov2021-08-204-19/+9
| | | | | | | | | | | | Before it was Linux only.
| * | Refactor: Simplify `GetValue()` function callsAlex Turbov2021-08-201-15/+27
| | |
| * | cmake_host_system_information: Also set `USED_FALLBACK_SCRIPT`Alex Turbov2021-08-204-1/+7
| | | | | | | | | | | | If the OS identification was obtained via fallback script.
| * | cmake_host_system_information: Can run fallback scriptsAlex Turbov2021-08-2016-2/+308
| | |
| * | cmake_host_system_information: Can read `/etc/os-release` fileAlex Turbov2021-08-2014-7/+336
| | |
| * | Testing: Convert `cmake_host_system_information` tests into `RunCMake`Alex Turbov2021-08-0217-24/+62
| | |
| * | Documentation: Use definition list instead of tablesAlex Turbov2021-07-301-39/+119
| | | | | | | | | | | | | | | Transform tables into definition list for `cmake_host_system_information` command manual.
| * | Refactor: Deduplicate code for `VS_nn_DIR` keys processingAlex Turbov2021-07-301-48/+18
| | |
| * | Refactor: Use string viewAlex Turbov2021-07-301-29/+31
| | |
| * | Refactor: `bool GetValue(..., string&)` → `optional<string> GetValue(...)`Alex Turbov2021-07-301-70/+114
| | | | | | | | | | | | | | | | | | | | | Also, split `GetValue()` into 2 overloads: - one used to get documented keys - the other (different signature) to get `VS_nn_DIR` keys
| * | Refactor: Move module private functions on topAlex Turbov2021-07-281-62/+54
| | |
| * | Refactor: Run CPU/OS/Memory tests once on first runAlex Turbov2021-07-271-4/+8
| | |
* | | Merge branch 'release-3.21'Brad King2021-08-240-0/+0
|\ \ \
| * \ \ Merge topic 'vs-toolset-version' into release-3.21Brad King2021-08-241-0/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25c5ebba7e VS: Add special case for '-T version=14.29.16.11' under VS 16.11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6469
* | \ \ \ Merge topic 'vs-toolset-version'Brad King2021-08-241-0/+3
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 25c5ebba7e VS: Add special case for '-T version=14.29.16.11' under VS 16.11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6469
| * | | | VS: Add special case for '-T version=14.29.16.11' under VS 16.11Brad King2021-08-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the table of special cases from commit 58a50a3a0a (VS: Fix '-T version=14.28' under VS 16.9, 2021-03-11, v3.19.7~1^2~1) and updated by commit a60141feaa (VS: Add special case for '-T version=14.29.16.10' under VS 16.10, 2021-05-27, v3.20.4~11^2). Add a special case for the name VS 17 will use for VS 16.11's default toolset, so that it can be used with VS 16.11 too. Issue: #21922
* | | | | Merge branch 'release-3.21'Brad King2021-08-240-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'revert-autouic-header-depends' into release-3.21Brad King2021-08-2415-142/+82
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2a6e160aa AUTOUIC: Revert "Fix generating of dependency rules for UI header files" Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6465
* | \ \ \ \ Merge topic 'revert-autouic-header-depends'Brad King2021-08-2415-142/+82
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2a6e160aa AUTOUIC: Revert "Fix generating of dependency rules for UI header files" Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6465
| * | | | | AUTOUIC: Revert "Fix generating of dependency rules for UI header files"Brad King2021-08-1915-142/+82
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit e5ec0e52f4 (AUTOUIC: Fix generating of dependency rules for UI header files, 2021-07-22, v3.21.1~8^2) because it caused regressions. For example, changing one C++ source can now cause many others to rebuild. Revert the change pending further investigation. Fixes: #22531 Issue: #16776
* | | | | Merge branch 'release-3.21'Brad King2021-08-240-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'FindMPI-framework-not-a-compile-flag' into release-3.21Brad King2021-08-241-1/+2
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2b2a6a7170 FindMPI: do not detect `-framework` as a compile flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !6467
* | | | | Merge topic 'FindMPI-framework-not-a-compile-flag'Brad King2021-08-241-1/+2
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2b2a6a7170 FindMPI: do not detect `-framework` as a compile flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !6467
| * | | | FindMPI: do not detect `-framework` as a compile flagBen Boeckel2021-08-191-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MPICH 3.4.2 now reports `-framework OpenCL` as one of its compilation flag. The compile flag extraction is seeing it as a generic `-f` flag and misses its argument. This ends up with a compile option of `-framework` which eats the next flag (and may be very important). It does not seem that passing `-framework` as a link flag is necessary at this time, so that is being actively ignored for now. Fixes: #22555
* | | | Merge topic 'archive-error-handling'Brad King2021-08-245-7/+31
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20fec15204 cmArchiveWrite: Check for construction errors on Open e2c06736e5 libarchive: Add missing cm3p prefixes on includes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6470
| * | | | cmArchiveWrite: Check for construction errors on OpenBrad King2021-08-203-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also update call sites to report the error. Issue: #19666
| * | | | libarchive: Add missing cm3p prefixes on includesBrad King2021-08-202-3/+3
| | |_|/ | |/| | | | | | | | | | Issue: #20666
* | | | Merge topic 'update-kwiml'Brad King2021-08-241-2/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 845cdb7d41 Merge branch 'upstream-KWIML' into update-kwiml 1b8fefb505 KWIML 2021-08-20 (9c534d2c) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6471
| * \ \ \ Merge branch 'upstream-KWIML' into update-kwimlBrad King2021-08-241-2/+15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By KWIML Upstream * upstream-KWIML: KWIML 2021-08-20 (9c534d2c)
| | * | | | KWIML 2021-08-20 (9c534d2c)KWIML Upstream2021-08-241-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwiml.git at commit 9c534d2cc5c3fece4184e8eaeda6f30d419db601 (master). Upstream Shortlog ----------------- Brad King (1): 9c534d2c int.h: Record that MSVC provides inttypes.h since VS 2013
* | | | | | Merge topic 'FetchContent_doc_restructure'Craig Scott2021-08-241-200/+252
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e802193a34 Help: Rework docs to prioritize FetchContent_MakeAvailable() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6475
| * | | | | | Help: Rework docs to prioritize FetchContent_MakeAvailable()Craig Scott2021-08-231-200/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FetchContent_MakeAvailable() should be strongly preferred over the direct use of FetchContent_Populate(). The latter was the only method available before CMake 3.14, but the former is simpler and offers more functionality. Restructure the docs and improve the wording to steer the reader toward `FetchContent_MakeAvailable()` as the preferred approach. Also take the opportunity to pull out the variables that influence behavior into their own section. They were easily missed when buried in the docs for the FetchContent_Populate() command.
* | | | | | | Merge topic 'get-property-syntax'Craig Scott2021-08-242-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c0ba17493 Help: get/set_property: Fix SOURCE grammars Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6476
| * | | | | | | Help: get/set_property: Fix SOURCE grammarsFeRD (Frank Dana)2021-08-232-3/+3
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2021-08-241-1/+1
|/ / / / / / /
* | | | | | | CMake Nightly Date StampKitware Robot2021-08-231-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2021-08-221-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2021-08-211-1/+1
| |/ / / / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-08-201-1/+1
| | | | | |
* | | | | | Merge topic 'help_check'Brad King2021-08-193-2/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d62d0f048f Help: CheckFortranFunctionExists: recommend more general CheckSourceCompiles 8fddc2bb2f Help: refer to CheckSourceCompiles instead of older Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6446
| * | | | | | Help: CheckFortranFunctionExists: recommend more general CheckSourceCompilesMichael Hirsch2021-08-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CheckFortranFunctionExists is really only relevant to Fortran 77 code. Fortran 90 and newer users should use CheckSourceCompiles instead.
| * | | | | | Help: refer to CheckSourceCompiles instead of olderMichael Hirsch2021-08-112-2/+2
| | | | | | |
* | | | | | | Merge topic 'fix_2.6_check'Brad King2021-08-191-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35e38ef97a Config File Gen: When requiring >= 2.6, don't check < 2.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6456
| * | | | | | | Config File Gen: When requiring >= 2.6, don't check < 2.5Marcus Müller2021-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This seems to be a clear-cut case. Signed-off-by: Marcus Müller <marcus@hostalia.de>