diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-11-30 21:02:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-07 13:23:58 (GMT) |
commit | 49f8687e1601bacd3386d8393dc831124691715e (patch) | |
tree | 8900eb383a578cf1cbd9793766a16284a8b8d7f4 /Source/cmQtAutoGenerators.h | |
parent | 7731121d66dc2212c67eb9d49840ac846bd00ce7 (diff) | |
download | CMake-49f8687e1601bacd3386d8393dc831124691715e.zip CMake-49f8687e1601bacd3386d8393dc831124691715e.tar.gz CMake-49f8687e1601bacd3386d8393dc831124691715e.tar.bz2 |
QtAutogen: Make sure parent directory exists before writing files
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index 99b1fbf..7cba1ea 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -85,6 +85,8 @@ private: void LogError(const std::string& message); void LogCommand(const std::vector<std::string>& command); + bool makeParentDirectory(const std::string& filename); + std::string JoinExts(const std::vector<std::string>& lst); static void MergeUicOptions(std::vector<std::string>& opts, |