summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-13 13:35:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-03-13 13:36:02 (GMT)
commit9128a4c158b7c0615bd8218c5a280b567e0f81ee (patch)
tree7aba9e87f0a2847556e57ce3f767941203017721 /Source/cmGlobalNinjaGenerator.h
parent974ee2d26cd61766cc9ab5c8c7388cd0c7d59531 (diff)
parent685108a582515cbe9d94fca52600e4fcd3fdae9c (diff)
downloadCMake-9128a4c158b7c0615bd8218c5a280b567e0f81ee.zip
CMake-9128a4c158b7c0615bd8218c5a280b567e0f81ee.tar.gz
CMake-9128a4c158b7c0615bd8218c5a280b567e0f81ee.tar.bz2
Merge topic 'revert-optimize-target-depends-closure'
685108a582 Ninja: Revert "Optimize target depends closure" due to performance regression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8315
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 6d23e89..c08bb46 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -354,6 +354,11 @@ public:
const std::string& config,
const std::string& fileConfig,
bool genexOutput);
+ void AppendTargetDependsClosure(cmGeneratorTarget const* target,
+ cmNinjaOuts& outputs,
+ const std::string& config,
+ const std::string& fileConfig,
+ bool genexOutput, bool omit_self);
void AppendDirectoryForConfig(const std::string& prefix,
const std::string& config,
@@ -611,8 +616,7 @@ private:
bool GenexOutput;
};
- std::map<TargetDependsClosureKey, cmNinjaDeps>
- TargetDependsClosureLocalOutputs;
+ std::map<TargetDependsClosureKey, cmNinjaOuts> TargetDependsClosures;
TargetAliasMap TargetAliases;