summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-10 20:13:03 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-10 20:13:23 (GMT)
commit685108a582515cbe9d94fca52600e4fcd3fdae9c (patch)
tree1c5ed541b76b109e60562172a03d7ce6f826f2ef /Source/cmGlobalNinjaGenerator.h
parent454bfa77b2951cc53296da86928dce00885d4d5b (diff)
downloadCMake-685108a582515cbe9d94fca52600e4fcd3fdae9c.zip
CMake-685108a582515cbe9d94fca52600e4fcd3fdae9c.tar.gz
CMake-685108a582515cbe9d94fca52600e4fcd3fdae9c.tar.bz2
Ninja: Revert "Optimize target depends closure" due to performance regression
Revert commit 1f16af01f4 (cmGlobalNinjaGenerator: Optimize target depends closure, 2023-01-17, v3.26.0-rc1~74^2). It regressed generation time for some projects. Revert it pending further investigation.
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 1436c83..f18d63b 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,
@@ -612,8 +617,7 @@ private:
bool GenexOutput;
};
- std::map<TargetDependsClosureKey, cmNinjaDeps>
- TargetDependsClosureLocalOutputs;
+ std::map<TargetDependsClosureKey, cmNinjaOuts> TargetDependsClosures;
TargetAliasMap TargetAliases;