diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-04-03 09:28:40 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-04-03 15:20:29 (GMT) |
commit | 14a86c9ea7efae1b3acb01bc79f2f1f5ef23c5f1 (patch) | |
tree | 917b96ff693ca0b72e932f0f4bc11e70078d8bfe /Source/cmQtAutoGenerator.h | |
parent | 61fd4c742013a7f9139db190f936703b656540ff (diff) | |
download | CMake-14a86c9ea7efae1b3acb01bc79f2f1f5ef23c5f1.zip CMake-14a86c9ea7efae1b3acb01bc79f2f1f5ef23c5f1.tar.gz CMake-14a86c9ea7efae1b3acb01bc79f2f1f5ef23c5f1.tar.bz2 |
Autogen: Protected calls to cmSystemTools::CollapseCombinedPath
Diffstat (limited to 'Source/cmQtAutoGenerator.h')
-rw-r--r-- | Source/cmQtAutoGenerator.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerator.h b/Source/cmQtAutoGenerator.h index e029d8d..5f59b5d 100644 --- a/Source/cmQtAutoGenerator.h +++ b/Source/cmQtAutoGenerator.h @@ -68,8 +68,17 @@ public: { } + /// @brief Logger Logger* Log() const { return Log_; } - std::string RealPath(std::string const& filename); + + // -- Paths + /// @brief Wrapper for cmSystemTools::GetRealPath + std::string GetRealPath(std::string const& filename); + /// @brief Wrapper for cmSystemTools::CollapseCombinedPath + std::string CollapseCombinedPath(std::string const& dir, + std::string const& file); + + // -- File access bool FileExists(std::string const& filename); bool FileIsOlderThan(std::string const& buildFile, std::string const& sourceFile, @@ -92,6 +101,7 @@ public: bool FileRemove(std::string const& filename); bool Touch(std::string const& filename); + // -- Directory access bool MakeDirectory(std::string const& dirname); /// @brief Error logging version bool MakeDirectory(GeneratorT genType, std::string const& dirname); |