summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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 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 topic 'cmstrlen'Kyle Edwards2020-09-091-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0c9cdf30ed cmStringAlgorithms: Add cmStrLen() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5201
| * | | cmStringAlgorithms: Add cmStrLen()Kyle Edwards2020-09-081-0/+7
| | | |
* | | | CMake Nightly Date StampKitware Robot2020-09-091-1/+1
| |_|/ |/| |
* | | 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-0810-7/+176
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a020787a9b ISPC: Support generation for multiple instruction sets 5a1750017e ISPC: Add compiler launcher support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5173
| * | | | ISPC: Support generation for multiple instruction setsRobert Maynard2020-09-0410-5/+173
| | | | |
| * | | | ISPC: Add compiler launcher supportRobert Maynard2020-09-033-2/+3
| | | | |
* | | | | Merge topic 'GetExecutionListFile-by-ref'Brad King2020-09-084-6/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 879bd7fd9c cmStateSnapshot: Return const reference from GetExecutionListFile() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5186
| * | | | | cmStateSnapshot: Return const reference from GetExecutionListFile()Oleksandr Koval2020-09-034-6/+6
| |/ / / /
* | | | | Merge topic 'optimize-cmJoin'Brad King2020-09-083-4/+69
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38928ee3ee cmStringAlgorithms: Add faster cmJoin overloads for strings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5185
| * | | | | cmStringAlgorithms: Add faster cmJoin overloads for stringsOleksandr Koval2020-09-033-4/+69
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmJoin() is often used with std::string ranges. Generic implementation uses std::ostringstream which is not optimal. With strings we can avoid operator<<() and make much faster implementation. Additional 'initial' argument is useful for cmStringCommand.cxx:HandleAppendCommand().
* | | | | Merge topic 'cmake_path'Marc Chevrier2020-09-088-8/+1796
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb583b0a66 cmake_path command: path management 212e953d35 cmCMakePath: Class for path handling Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5158
| * | | | cmake_path command: path managementMarc Chevrier2020-09-066-8/+1077
| | | | | | | | | | | | | | | | | | | | Fixes: #19568, #20922
| * | | | cmCMakePath: Class for path handlingMarc Chevrier2020-09-063-0/+719
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2020-09-081-1/+1
| | | | |
* | | | | Merge topic 'fix-compare'Kyle Edwards2020-09-071-3/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4bc1486cd3 cmConditionEvaluator: Avoid comparing pointers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5189
| * | | | | cmConditionEvaluator: Avoid comparing pointersvvs314152020-09-041-3/+4
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2020-09-071-1/+1
| |/ / / / |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2020-09-061-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2020-09-051-1/+1
|/ / / /
* | | | Merge topic 'use-tocstr'Kyle Edwards2020-09-0411-35/+23
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 1380b43764 Refactor: Use cmToCStr() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5184
| * | | Refactor: Use cmToCStr()Vitaly Stakhovsky2020-09-0311-35/+23
| |/ /
* | | Merge topic 'pragma-once'Brad King2020-09-04466-1844/+466
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5585e8575b Help: Add note about #pragma once 407afc0f91 Bootstrap: Use #pragma once in cmThirdParty.h aa7bce8495 Utilities/Scripts: Remove temporary #pragma once conversion script bdca8b01d2 Modernize: Use #pragma once in all header files 093ba4061d Utilities/Scripts: Add temporary #pragma once conversion script Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5171
| * | | Modernize: Use #pragma once in all header filesKitware Robot2020-09-03466-1844/+466
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #pragma once is a widely supported compiler pragma, even though it is not part of the C++ standard. Many of the issues keeping #pragma once from being standardized (distributed filesystems, build farms, hard links, etc.) do not apply to CMake - it is easy to build CMake on a single machine. CMake also does not install any header files which can be consumed by other projects (though cmCPluginAPI.h has been deliberately omitted from this conversion in case anyone is still using it.) Finally, #pragma once has been required to build CMake since at least August 2017 (7f29bbe6 enabled server mode unconditionally, which had been using #pragma once since September 2016 (b13d3e0d)). The fact that we now require C++11 filters out old compilers, and it is unlikely that there is a compiler which supports C++11 but does not support #pragma once.
* | | CMake Nightly Date StampKitware Robot2020-09-041-1/+1
|/ /
* | Merge topic 'getdef'Brad King2020-09-0383-702/+745
|\ \ | | | | | | | | | | | | | | | | | | 11425041f0 cmMakefile::GetDefinition: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5179
| * | cmMakefile::GetDefinition: return cmPropVitaly Stakhovsky2020-09-0283-702/+745
| | |
* | | Merge topic 'Fortran-visibility-var'Brad King2020-09-031-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 76cc687e98 Fortran: Initialize Fortran_VISIBILITY_PRESET property from variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5182
| * | | Fortran: Initialize Fortran_VISIBILITY_PRESET property from variableThomas G2020-09-021-0/+1
| | | | | | | | | | | | | | | | | | | | The `CMAKE_Fortran_VISIBILITY_PRESET` variable is documented to initialize the property. Fix it.
* | | | Merge topic 'ninja-multi-automoc-regression'Brad King2020-09-032-1/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a6471dd7b Merge branch 'master' into ninja-multi-automoc-regression a9fd3a107d Ninja Multi-Config: Fix dependencies of utility targets f1199bdc96 Ninja Multi-Config: Fix cleaning of utility targets with commands 657047cd24 Ninja Multi-Config: Fix clean:all target c35d1927a5 Tests: Pass additional Qt information to Ninja and NMC tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5177
| * \ \ \ Merge branch 'master' into ninja-multi-automoc-regressionKyle Edwards2020-09-02188-3388/+5546
| |\ \ \ \ | | |/ / / | | | | / | | |_|/ | |/| |
| * | | Ninja Multi-Config: Fix dependencies of utility targetsKyle Edwards2020-09-021-1/+2
| | | | | | | | | | | | | | | | Fixes: #21118
| * | | Ninja Multi-Config: Fix cleaning of utility targets with commandsKyle Edwards2020-09-021-0/+2
| | | |
| * | | Ninja Multi-Config: Fix clean:all targetKyle Edwards2020-09-021-0/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2020-09-031-1/+1
| |/ / |/| |
* | | Merge topic 'xcode-custom-commands'Brad King2020-09-022-7/+37
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | e33f8f078a Xcode: Avoid unnecessary duplication of custom commands across targets 8c60c49ae2 Xcode: Refactor custom command dependency expansion Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5176
| * | Xcode: Avoid unnecessary duplication of custom commands across targetsBrad King2020-09-012-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Since commit fb45559e09 (Xcode: Process targets in depth-first order during generation, 2018-07-19, v3.13.0-rc1~293^2) we generate a target only after generating its dependencies. Therefore when visiting the custom commands in a target, we can assume that custom commands in its dependencies have already been visited.
| * | Xcode: Refactor custom command dependency expansionBrad King2020-09-011-6/+11
| | | | | | | | | | | | Compute and store the "real" dependencies earlier.
* | | CMake Nightly Date StampKitware Robot2020-09-021-1/+1
|/ /
* | Merge topic 'target_genex_dependency'Brad King2020-09-012-3/+74
|\ \ | | | | | | | | | | | | | | | | | | | | | f14b390198 GenEx: Remove unneeded dependencies from target info queries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5127