diff options
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 15c0f34..6d9bfe8 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -315,6 +315,8 @@ public: bool SupportsConsolePool() const; std::string NinjaOutputPath(std::string const& path); + bool HasOutputPathPrefix() const { return !this->OutputPathPrefix.empty(); } + void StripNinjaOutputPathPrefixAsSuffix(std::string& path); protected: virtual void Generate(); @@ -401,6 +403,9 @@ private: std::string NinjaVersion; private: + void InitOutputPathPrefix(); + + std::string OutputPathPrefix; std::string TargetAll; std::string CMakeCacheFile; }; |