mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
Merge topic 'autogen-fixes'
09035319 Autogen: Pass explicit predefines header to moc if possible
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !671
This commit is contained in:
@@ -143,8 +143,8 @@ private:
|
||||
const char* basePrefix,
|
||||
const char* baseSuffix) const;
|
||||
bool MakeParentDirectory(const std::string& filename) const;
|
||||
bool RunCommand(const std::vector<std::string>& command,
|
||||
std::string& output) const;
|
||||
bool RunCommand(const std::vector<std::string>& command, std::string& output,
|
||||
bool verbose = true) const;
|
||||
|
||||
bool FindHeader(std::string& header, const std::string& testBasePath) const;
|
||||
|
||||
@@ -177,6 +177,8 @@ private:
|
||||
// - Moc
|
||||
std::string MocCppFilenameRel;
|
||||
std::string MocCppFilenameAbs;
|
||||
std::string MocPredefsFileRel;
|
||||
std::string MocPredefsFileAbs;
|
||||
std::vector<std::string> MocSkipList;
|
||||
std::vector<std::string> MocIncludePaths;
|
||||
std::vector<std::string> MocIncludes;
|
||||
@@ -198,6 +200,8 @@ private:
|
||||
MacroFilter MacroFilters[2];
|
||||
cmsys::RegularExpression RegExpMocInclude;
|
||||
cmsys::RegularExpression RegExpUicInclude;
|
||||
// - moc_predefs
|
||||
std::vector<std::string> MocPredefsCmd;
|
||||
// - Flags
|
||||
bool IncludeProjectDirsBefore;
|
||||
bool Verbose;
|
||||
|
||||
Reference in New Issue
Block a user