diff options
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaTargetGenerator.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h index 3a28cef..4b4cf8d 100644 --- a/Source/cmNinjaTargetGenerator.h +++ b/Source/cmNinjaTargetGenerator.h @@ -101,7 +101,7 @@ protected: const std::string& language, const std::string& config); - std::string ConvertToNinjaPath(const std::string& path) const + std::string const& ConvertToNinjaPath(const std::string& path) const { return this->GetGlobalGenerator()->ConvertToNinjaPath(path); } @@ -110,13 +110,18 @@ protected: return this->GetGlobalGenerator()->MapToNinjaPath(); } + std::string ConvertToNinjaAbsPath(std::string path) const + { + return this->GetGlobalGenerator()->ConvertToNinjaAbsPath(std::move(path)); + } + /// @return the list of link dependency for the given target @a target. cmNinjaDeps ComputeLinkDeps(const std::string& linkLanguage, const std::string& config, bool ignoreType = false) const; /// @return the source file path for the given @a source. - std::string GetSourceFilePath(cmSourceFile const* source) const; + std::string GetCompiledSourceNinjaPath(cmSourceFile const* source) const; /// @return the object file path for the given @a source. std::string GetObjectFilePath(cmSourceFile const* source, |