Xcode: Resolve extra compiler (e.g qrc) dependencies
The Xcode generator relies on the generic makefile generator for extra compilers such as qrc and moc, by generating makefiles that are then executed as separate build steps in the Xcode build. These makefiles are generated by entering a special mode in the Xcode generator, in which case we _do_ want to resolve dependencies, so that e.g. the files referenced inside a qrc file are added as dependencies to the makefile rule that generates the qrc-cpp file. Change-Id: I96bdcb165e9774a6328ae1980986fa2c6b00c6d9 Reviewed-by: Andy Shaw <andy.shaw@digia.com>
This commit is contained in:
parent
e19e1aae69
commit
3e3297242a
@ -83,7 +83,7 @@ protected:
|
||||
virtual QString escapeFilePath(const QString &path) const;
|
||||
ProString escapeFilePath(const ProString &path) const { return MakefileGenerator::escapeFilePath(path); }
|
||||
bool doPrecompiledHeaders() const { return false; }
|
||||
virtual bool doDepends() const { return false; } //never necesary
|
||||
virtual bool doDepends() const { return writingUnixMakefileGenerator && UnixMakefileGenerator::doDepends(); }
|
||||
};
|
||||
|
||||
inline ProjectBuilderMakefileGenerator::~ProjectBuilderMakefileGenerator()
|
||||
|
Loading…
Reference in New Issue
Block a user