summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ccmake: Add Windows support using PDCursesDuncan Ogilvie2022-01-185-4/+34
|
* ccmake: Refactor resizing logic into cmCursesFormDuncan Ogilvie2022-01-183-18/+27
|
* ccmake: Refactor BUILD_CursesDialog option logicBrad King2022-01-181-13/+16
| | | | | Move all the current logic behind `if(UNIX)` conditions to make room for other platforms to be added.
* cmpdcurses: Add CMake build systemBrad King2022-01-181-0/+73
|
* Merge branch 'upstream-PDCurses' into update-pdcursesBrad King2022-01-1257-0/+15451
|\ | | | | | | | | | | # By PDCurses Upstream * upstream-PDCurses: PDCurses 2021-12-08 (f1cd4f45)
| * PDCurses 2021-12-08 (f1cd4f45)PDCurses Upstream2022-01-1257-0/+15451
| | | | | | | | Code extracted from: https://github.com/wmcbrine/PDCurses.git at commit f1cd4f4569451a5028ddf3d3c202f0ad6b1ae446 (f1cd4f4569451a5028ddf3d3c202f0ad6b1ae446).
* pdcurses: Add script to import PDCurses from upstreamBrad King2022-01-121-0/+32
|
* Merge topic 'better_error_message_on_unsupported_language_level'Brad King2022-01-129-14/+14
|\ | | | | | | | | | | | | | | ec1e40af1a cmStandardLevelResolver: Better error message on unsupported language level Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6854
| * cmStandardLevelResolver: Better error message on unsupported language levelRobert Maynard2022-01-119-14/+14
| | | | | | | | Fixes #23079
* | Merge branch 'release-3.22'Brad King2022-01-120-0/+0
|\ \
| * \ Merge topic 'msvc-isystem' into release-3.22Brad King2022-01-122-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3a8b6653dc MSVC: Use -external:I flag without space to support Clang tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6855
* | \ \ Merge topic 'msvc-isystem'Brad King2022-01-122-2/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 3a8b6653dc MSVC: Use -external:I flag without space to support Clang tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6855
| * | | MSVC: Use -external:I flag without space to support Clang toolsBrad King2022-01-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit f29e1874ad (Compiler/MSVC: use the `-external:I` flag for system includes, 2020-05-19, v3.22.0-rc1~593^2) we use the new flag followed by the include directory as a separate argument. Some versions of `clang-cl` and `clang-tidy` do not support the flag unless the include directory is attached to it, so use that form instead. Fixes: #22979
* | | | Merge branch 'release-3.22'Brad King2022-01-120-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'file-READ_ELF-capture-error' into release-3.22Brad King2022-01-123-5/+29
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 41bebbe50a file: Restore error capture in undocumented READ_ELF mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6853
* | | | Merge topic 'file-READ_ELF-capture-error'Brad King2022-01-123-5/+29
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 41bebbe50a file: Restore error capture in undocumented READ_ELF mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6853
| * | | file: Restore error capture in undocumented READ_ELF modeBrad King2022-01-113-5/+29
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Revise the error message added by commit 115ff6a347 (cmELF: Include the ELF parsing code unconditionally, 2021-06-17, v3.22.0-rc1~557^2) to honor the `CAPTURE_ERROR` option. This is needed by the call site in `BundleUtilities` to suppress errors on non-ELF files. Fixes: #23074
* | | Merge topic 'GoogleTest-discover-sq-brackets'Brad King2022-01-127-148/+226
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b85b10fb3 GoogleTest: Add handling for square brackets in test names 8f977a5c92 GoogleTest: Generalize test samples Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6842
| * | | GoogleTest: Add handling for square brackets in test namesEvgeniy Shcherbina2022-01-114-16/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a test name contains a square bracket (due to parameters) then it breaks gtest_discovery_test() function in some not-so-predictable way. That happens due to the special meaning these brackets have in the CMake language and they can't be escaped universally. So the following treatment has been implemented: * Every occurrence of ('[' | ']') in a test name gets replaced with the corresponding placeholder ("__osb_*" | "__csb_*") before the Google Test output processing and gets replaced back before adding a new test to CTest, keeping the original test name intact in the CTest output. The placeholders are chosen that way to minimize the chance of clashing with something in the user tests but even if the default ones would clash with something then they are enhanced to not clash with anything (hence "_*" at the placeholder's end). * The GTest output gets searched for the default test name guards ("[=[" | "]=]") and if they are found a new one gets generated until the one is found which can safely encompass any test name. The search is quite simple: find the least amount of '=' which would allow escaping any test. * The resulting ${TEST_LIST} variable will contain every test but tests with square brackets as there is no way to make sure such tests won't break the list altogether. Fixes: #23039
| * | | GoogleTest: Generalize test samplesEvgeniy Shcherbina2022-01-115-135/+135
| | | | | | | | | | | | | | | | | | | | Replaced brittle (and irrelevant to the tests) parts of the sample outputs with generic regexps to ease making new test cases.
* | | | Merge topic 'update-kwsys'Brad King2022-01-125-25/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d37dae5f9 cmFileCommand: Update for new signature of GetLineFromStream f52dac56a0 Merge branch 'upstream-KWSys' into update-kwsys 6e8a2de4cb KWSys 2022-01-11 (15b0b0c4) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6852
| * | | | cmFileCommand: Update for new signature of GetLineFromStreamBrad King2022-01-111-6/+4
| | | | |
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2022-01-114-19/+23
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2022-01-11 (15b0b0c4)
| | * | | | KWSys 2022-01-11 (15b0b0c4)KWSys Upstream2022-01-114-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 15b0b0c45e87c7f5bdc24ece6912c1a7dd9ef9f4 (master). Upstream Shortlog ----------------- Alexey Edelev (1): 549d3d0b SystemTools: Fix type of GetLineFromStream Jessica Clarke (1): ebfb5cdb SystemInformation: Change GetRealAddress to return a size_t
* | | | | | Merge topic 'help-add_custom_command-DEPFILE-format'Brad King2022-01-121-3/+42
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a3aac990e Help: add_custom_command: describes depfile format Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6848
| * | | | | | Help: add_custom_command: describes depfile formatMarc Chevrier2022-01-111-3/+42
| | |_|/ / / | |/| | | |
* | | | | | CMake Nightly Date StampKitware Robot2022-01-121-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'FindLTTngUST-fix-version-detect'Brad King2022-01-111-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ce5765a86 FindLTTngUST: Fix version component extraction Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6828
| * | | | | FindLTTngUST: Fix version component extractionNorbert Lange2022-01-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regex was greedy and slurped away all but the last digit, so 2.13.1 was for ex. detected as 2.3.1. Fix this by expecting preceding whitespace.
* | | | | | Merge topic 'add_nvfortran_to_fortran_compiler_names'Brad King2022-01-111-2/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2be9d0f93 Fortran: Support searching for the `nvfortran` executable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6850
| * | | | | Fortran: Support searching for the `nvfortran` executableRobert Maynard2022-01-101-2/+4
| | |_|_|/ | |/| | | | | | | | | | | | | Instead of relying on the PGI symlinks (pgf95/pgf90/...) to always exist.
* | | | | CMake Nightly Date StampKitware Robot2022-01-111-1/+1
| | | | |
* | | | | Merge topic 'update-curl'Brad King2022-01-10102-2019/+3572
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9341e63233 curl: Set build options the way we need for CMake 697e8871a1 Merge branch 'upstream-curl' into update-curl a1f6ec647c curl 2022-01-05 (801bd513) bdb3a8203e curl: Update script to get curl 7.81.0 e9260cf4b0 Merge branch 'upstream-curl' into update-curl a4ad12d843 curl 2021-09-22 (c7aef0a9) 520809b5ae curl: Update script for new curl mailing list address Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6845
| * | | | | curl: Set build options the way we need for CMakeBrad King2022-01-072-16/+19
| | | | | |
| * | | | | Merge branch 'upstream-curl' into update-curlBrad King2022-01-07101-2001/+3551
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-curl: curl 2022-01-05 (801bd513)
| | * | | | | curl 2022-01-05 (801bd513)Curl Upstream2022-01-07101-2000/+3551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/curl/curl.git at commit 801bd5138ce31aa0d906fa4e2eabfc599d74e793 (curl-7_81_0).
| * | | | | | curl: Update script to get curl 7.81.0Brad King2022-01-071-1/+1
| | | | | | |
| * | | | | | Merge branch 'upstream-curl' into update-curlBrad King2022-01-070-0/+0
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | curl 2021-09-22 (c7aef0a9)Curl Upstream2022-01-070-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/curl/curl.git at commit c7aef0a945f9b6fb6d3f91716a21dfe2f4ea635f (curl-7_79_1).
| * | | | | | curl: Update script for new curl mailing list addressBrad King2022-01-071-1/+1
| | | | | | |
* | | | | | | Merge topic 'cmake-presets-include'Brad King2022-01-1058-1331/+1983
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26a5512c0f CMakePresets: Add include field a239f23a98 Refactor: Generalize file graph in CMakePresets 84d440caac Refactor: Split JSON processing into configure, build, and test presets fd6ea2f67f Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraph Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6829
| * | | | | | | CMakePresets: Add include fieldKyle Edwards2022-01-0642-7/+351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21331
| * | | | | | | Refactor: Generalize file graph in CMakePresetsKyle Edwards2022-01-064-29/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this refactoring, presets had a simple flag that marked them as "user" or "not user", and checking the file graph of two files was as simple as checking this flag. This only allowed for two files in the graph. Generalize the code to allow for arbitrarily many files in the graph.
| * | | | | | | Refactor: Split JSON processing into configure, build, and test presetsKyle Edwards2022-01-066-599/+821
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split up the file so that it won't be too big on some systems.
| * | | | | | | Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraphKyle Edwards2022-01-0613-221/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And change all references to "file" to say "graph" instead.
* | | | | | | | Merge topic 'cmake-ide-preset-command-line-length'Brad King2022-01-101-0/+6
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 94de63effa Guide: Recommend -C for IDE presets instead of -D Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Bob Brown <bobbrow@microsoft.com> Merge-request: !6846
| * | | | | | | Guide: Recommend -C for IDE presets instead of -DKyle Edwards2022-01-071-0/+6
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Issue: #23083
* | | | | | | CMake Nightly Date StampKitware Robot2022-01-101-1/+1
| | | | | | |
* | | | | | | Merge topic 'ExternalProject-IS_NEWER_THAN'Craig Scott2022-01-091-2/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d73fc5dd2a ExternalProject: Fix misuse of IS_NEWER_THAN in timestamp checks Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6847
| * | | | | | | ExternalProject: Fix misuse of IS_NEWER_THAN in timestamp checksCraig Scott2022-01-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was originally made in 404cddb7bb (ExternalProject: Fix misuse of IS_NEWER_THAN in timestamp checks, 2021-02-21), but was reverted by 57d442e182 (Revert ExternalProject and FetchContent refactoring, 2021-03-10) due to regressions from other changes. Reapply this fix on its own, since it is still valid. When using a file system which only has second resolution timestamps, there is a reasonably high likelihood of timestamps being the same. The IS_NEWER_THAN test returns true when timestamps are the same, so don't redo downloads when they match exactly.