summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: Add Importing and Exporting GuideBetsy McPhail2020-09-1124-1/+1181
|
* Merge branch 'release-3.18'Brad King2020-09-100-0/+0
|\
| * Merge topic 'gitlab-ci-prefer-mr' into release-3.18Brad King2020-09-101-4/+4
| |\ | | | | | | | | | | | | | | | | | | f6a80ffd54 gitlab-ci: Prefer MR rules for any pipeline associated with a MR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5214
* | \ Merge topic 'gitlab-ci-prefer-mr'Brad King2020-09-101-4/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | f6a80ffd54 gitlab-ci: Prefer MR rules for any pipeline associated with a MR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5214
| * | gitlab-ci: Prefer MR rules for any pipeline associated with a MRBrad King2020-09-101-4/+4
| | | | | | | | | | | | | | | | | | | | | GitLab 13.3 started creating MR pipelines in the parent project of a MR from a fork, at least when the MR submitter is a developer in the parent project. If the pipeline is associated with a MR, we should use the corresponding rules regardless of which project hosts the pipeline.
* | | Merge topic 'custom-command-dedup'Brad King2020-09-1020-11/+174
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 45fedf0e17 Makefile: Add policy CMP0113 to avoid duplication of custom commands 844779bdc1 cmMakefileTargetGenerator: Simplify custom command output collection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5204
| * | | Makefile: Add policy CMP0113 to avoid duplication of custom commandsBrad King2020-09-0820-1/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not attach a custom command to a target if it is already attached to one of the target's dependencies. The command's output will be available by the time the target needs it because the dependency containing the command will have already been built. This may break existing projects that do not properly mark non-created outputs with the `SYMBOLIC` property. Previously a chain of two custom commands whose intermediate dependency is not created would put both commands in a dependent project's Makefile even if the first command is also in its dependency's Makefile. The first command would run twice but the build would work. Now the second command needs an explicit `SYMBOLIC` mark on its input to tell CMake that it is not expected to exist. To maintain compatibility with projects that left out the mark, add a policy activating the behavior.
| * | | cmMakefileTargetGenerator: Simplify custom command output collectionBrad King2020-09-082-10/+6
| | | |
* | | | Merge topic 'json-helpers'Brad King2020-09-106-91/+931
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b2f3f831e2 Refactor: Use JSON helpers in CTest resource spec 3f3a30e1e0 JSON: Add helpers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5197
| * | | | Refactor: Use JSON helpers in CTest resource specKyle Edwards2020-09-092-91/+132
| | | | |
| * | | | JSON: Add helpersKyle Edwards2020-09-094-0/+799
| | | | |
* | | | | Merge topic 'optimize-old-expand'Brad King2020-09-1020-61/+49
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 62d7acc6d4 cmCommandArgumentParserHelper: rework input handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5208
| * | | | | cmCommandArgumentParserHelper: rework input handlingOleksandr Koval2020-09-0920-61/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old implementation uses involved Flex input management technique that requires usage of obsolete YY_INPUT macro. This causes a lot of useless allocations and byte-by-byte scanning. New implementation avoids those hacks, it uses yy_scan_string() API to setup Flex input. Also it fixes reporting of syntax error position and corresponding tests.
* | | | | | Merge branch 'release-3.18'Brad King2020-09-100-0/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge topic 'automoc-rerun-missing-dependency' into release-3.18Brad King2020-09-109-7/+132
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ac3503d30 AutoMoc: Re-run moc if a dependency is missing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5180
* | \ \ \ \ \ Merge topic 'automoc-rerun-missing-dependency'Brad King2020-09-109-7/+132
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ac3503d30 AutoMoc: Re-run moc if a dependency is missing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5180
| * | | | | | AutoMoc: Re-run moc if a dependency is missingJoerg Bornemann2020-09-099-7/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AutoMoc uses the moc-emitted dependency file of Qt 5.15 to track dependencies. Such a dependency may well live outside the project and can vanish, for example when installing a new compiler version. This situation was detected before, but merely a warning was issued. Now, we're considering a generated file as out of date if a dependency is missing and re-generate it. We also have to remove the missing dependency from the ParseCache. Otherwise the AUTOMOC target for all generators other than Ninja will always be out of date. The ParseCacheChanged flag had to be made atomic, because we're potentially accessing it from multiple threads. The dependencies vector itself is not vulnerable in this regard, because there's one vector per file, and we're accessing exactly one ParseCacheT::FileHandleT per thread. Fixes: #21136
* | | | | | | CMake Nightly Date StampKitware Robot2020-09-101-1/+1
| | | | | | |
* | | | | | | Merge topic 'vs9-custom-command-dedup'Brad King2020-09-094-17/+24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 066f4d0f0a VS: Avoid unnecessary duplication of custom commands across targets in VS 9 8bb5c96bf8 cmLocalVisualStudio7Generator: Adopt SourcesVisited lookup table Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5206
| * | | | | | | VS: Avoid unnecessary duplication of custom commands across targets in VS 9Brad King2020-09-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not attach a custom command to a target if it is already attached to one of the target's dependencies. The command's output will be available by the time the target needs it because the dependency containing the command will have already been built. The same change was already made by commit f59c33a763 (VS: Generate a custom command only in the least dependent target, 2018-03-23, v3.12.0-rc1~171^2) for VS 10+.
| * | | | | | | cmLocalVisualStudio7Generator: Adopt SourcesVisited lookup tableBrad King2020-09-084-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move it up the hierarchy from `cmLocalVisualStudio10Generator`. Propagate contents from a target's dependencies as part of the main target iteration logic instead of as part of the generator-specific target generation.
* | | | | | | | Merge topic 'use-cmprop'Brad King2020-09-094-45/+40
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dae5fe8b8f cmConditionEvaluator: More use of cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5190
| * | | | | | | | cmConditionEvaluator: More use of cmPropvvs314152020-09-084-45/+40
| | | | | | | | |
* | | | | | | | | Merge topic 'file-real_path'Brad King2020-09-0912-2/+95
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be36266dab file(): Add REAL_PATH sub-command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5202
| * | | | | | | | | file(): Add REAL_PATH sub-commandMarc Chevrier2020-09-0812-2/+95
| |/ / / / / / / /
* | | | | | | | | Merge topic 'fix-crash-21165'Brad King2020-09-091-22/+12
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a46fdda464 cmGeneratorTarget: Avoid missing nullptr check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5191
| * | | | | | | | | cmGeneratorTarget: Avoid missing nullptr checkvvs314152020-09-081-22/+12
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise logic in `ComputeOutputDir` that was previously missing a check for nullptr before constructing a `std::string`. Fixes: #21165
* | | | | | | | | Merge branch 'release-3.18'Brad King2020-09-090-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | |
| * | | | | | | | Merge topic 'pch-tv90' into release-3.18Brad King2020-09-091-8/+20
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce7c100545 PCH: Fix 30s wait for VS2008 when used via -Tv90 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5199
* | \ \ \ \ \ \ \ \ Merge topic 'pch-tv90'Brad King2020-09-091-8/+20
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce7c100545 PCH: Fix 30s wait for VS2008 when used via -Tv90 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5199
| * | | | | | | | | PCH: Fix 30s wait for VS2008 when used via -Tv90Cristian Adam2020-09-071-8/+20
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21142 Backport: release
* | | | | | | | | Merge branch 'release-3.18'Brad King2020-09-090-0/+0
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge topic 'ios-pch-x-lang-header' into release-3.18Brad King2020-09-094-4/+19
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d61294c3e PCH: Mark CMake PCH source files as -x <lang>-header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5188
* | \ \ \ \ \ \ \ \ Merge topic 'ios-pch-x-lang-header'Brad King2020-09-094-4/+19
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | / / / | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 8d61294c3e PCH: Mark CMake PCH source files as -x <lang>-header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5188
| * | | | | | | | PCH: Mark CMake PCH source files as -x <lang>-headerCristian Adam2020-09-044-4/+19
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes: #21163
* | | | | | | | Merge topic 'cmstrlen'Kyle Edwards2020-09-092-0/+17
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c9cdf30ed cmStringAlgorithms: Add cmStrLen() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5201
| * | | | | | | cmStringAlgorithms: Add cmStrLen()Kyle Edwards2020-09-082-0/+17
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2020-09-091-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'ExternalData-doc-typo'Brad King2020-09-081-1/+1
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1ad991a13e Help: correct typo in ExternalData (duplicate "of") Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5196
| * | | | | | | Help: correct typo in ExternalData (duplicate "of")Joachim Wuttke (o)2020-09-071-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'ispc_tests_run_on_older_hw'Brad King2020-09-082-4/+4
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c83711d9bd ISPC tests will now run on any hardware that only supports SSE2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5205
| * | | | | | | ISPC tests will now run on any hardware that only supports SSE2Robert Maynard2020-09-082-4/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Previously we expected AVX1 support.
* | | | | | | Merge topic 'generate-target-order'Brad King2020-09-0812-156/+90
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aea465793e cmLocalVisualStudio7Generator: Consolidate target iteration 1527242745 cmLocalVisualStudio10Generator: Simplify target ordering by dependencies 48bf7192e7 cmLocalVisualStudio7Generator: Generate targets in dependency order 17aba9c9a6 cmLocalUnixMakefileGenerator3: Generate targets in dependency order 69ee18163b cmLocalGhsMultiGenerator: Generate targets in dependency order c4e296a609 cmGlobalGenerator: Compute a global target ordering respecting dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5187
| * | | | | | cmLocalVisualStudio7Generator: Consolidate target iterationBrad King2020-09-045-57/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combine iteration with `cmLocalVisualStudio10Generator` and dispatch generation of each target with a virtual `GenerateTarget` method.
| * | | | | | cmLocalVisualStudio10Generator: Simplify target ordering by dependenciesBrad King2020-09-042-26/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our own depth-first traversal with use of the global generator's computed target order that respects dependencies.
| * | | | | | cmLocalVisualStudio7Generator: Generate targets in dependency orderBrad King2020-09-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the globally computed target ordering so that we generate all of a target's dependencies before generating the target itself.
| * | | | | | cmLocalUnixMakefileGenerator3: Generate targets in dependency orderBrad King2020-09-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the globally computed target ordering so that we generate all of a target's dependencies before generating the target itself.
| * | | | | | cmLocalGhsMultiGenerator: Generate targets in dependency orderBrad King2020-09-042-33/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the globally computed target ordering so that we generate all of a target's dependencies before generating the target itself.
| * | | | | | cmGlobalGenerator: Compute a global target ordering respecting dependenciesBrad King2020-09-044-42/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move this up from `cmGlobalXCodeGenerator`. It will be useful for all generators.
* | | | | | | Merge topic 'ispc_improvements'Brad King2020-09-0862-13/+633
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a020787a9b ISPC: Support generation for multiple instruction sets 5a1750017e ISPC: Add compiler launcher support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5173