diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-05-15 09:05:58 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-05-26 13:27:17 (GMT) |
commit | dbda590628868e37956838c1d93d54050ab3e7c1 (patch) | |
tree | 636949e74c8f8e398c34a6931cad4a7578aeafe9 /Source/cmQtAutoGenerators.h | |
parent | 0965002e57f7461d290792252b289fda9247d530 (diff) | |
download | CMake-dbda590628868e37956838c1d93d54050ab3e7c1.zip CMake-dbda590628868e37956838c1d93d54050ab3e7c1.tar.gz CMake-dbda590628868e37956838c1d93d54050ab3e7c1.tar.bz2 |
Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.
Closes #14760
Closes #14313
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index 9f329ac..b525364 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -107,8 +107,8 @@ private: const std::map<std::string, std::set<std::string> >& mocDepends); bool MocGenerateFile( const std::string& sourceFile, const std::string& mocFileName, - const std::string& subDir, - const std::map<std::string, std::set<std::string> >& mocDepends); + const std::map<std::string, std::set<std::string> >& mocDepends, + bool included); // -- Uic file generation bool UicFindIncludedFile(std::string& absFile, const std::string& sourceFile, @@ -139,8 +139,8 @@ private: const std::map<std::string, std::string>& genFiles, std::multimap<std::string, std::string>& collisions) const; std::string ChecksumedPath(const std::string& sourceFile, - const char* basePrefix, - const char* baseSuffix) const; + const std::string& basePrefix, + const std::string& baseSuffix) const; bool MakeParentDirectory(const char* logPrefix, const std::string& filename) const; bool FileDiffers(const std::string& filename, const std::string& content); @@ -157,15 +157,15 @@ private: bool MocFindIncludedFile(std::string& absFile, const std::string& sourceFile, const std::string& includeString) const; - // -- Target names - std::string OriginTargetName; - std::string AutogenTargetName; + // -- Meta + std::string ConfigSuffix; // -- Directories std::string ProjectSourceDir; std::string ProjectBinaryDir; std::string CurrentSourceDir; std::string CurrentBinaryDir; std::string AutogenBuildDir; + std::string AutogenIncludeDir; // -- Qt environment std::string QtMajorVersion; std::string MocExecutable; @@ -189,8 +189,8 @@ private: bool MocPredefsChanged; bool MocRelaxedMode; bool MocRunFailed; - std::string MocCppFilenameRel; - std::string MocCppFilenameAbs; + std::string MocCompFileRel; + std::string MocCompFileAbs; std::string MocPredefsFileRel; std::string MocPredefsFileAbs; std::vector<std::string> MocSkipList; |