diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-04-23 13:18:10 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-04-23 16:46:58 (GMT) |
commit | b45976fe104902ed7f0495e0e4c822684a4455e7 (patch) | |
tree | 5fd9cbea65dcfc5e46246f54043c8d98559e3c53 /Source/cmGlobalNinjaGenerator.h | |
parent | 8c00f5ef0a29758c56fa46a11e150b0e0f5c364e (diff) | |
download | CMake-b45976fe104902ed7f0495e0e4c822684a4455e7.zip CMake-b45976fe104902ed7f0495e0e4c822684a4455e7.tar.gz CMake-b45976fe104902ed7f0495e0e4c822684a4455e7.tar.bz2 |
Ninja: Remove config suffix from order-only target
Fixes: #20621
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 5668dd1..b89fb8f 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -315,8 +315,8 @@ public: ASD.insert(deps.begin(), deps.end()); } - static std::string OrderDependsTargetForTarget( - cmGeneratorTarget const* target, const std::string& config); + virtual std::string OrderDependsTargetForTarget( + cmGeneratorTarget const* target, const std::string& config) const; void AppendTargetOutputs( cmGeneratorTarget const* target, cmNinjaDeps& outputs, @@ -644,6 +644,9 @@ public: bool SupportsCrossConfigs() const override { return true; } bool SupportsDefaultConfigs() const override { return true; } + std::string OrderDependsTargetForTarget( + cmGeneratorTarget const* target, const std::string& config) const override; + protected: bool OpenBuildFileStreams() override; void CloseBuildFileStreams() override; |