Skip loading of index files if we are running with --prepare
This makes generation of the index files 3 times as fast. Change-Id: I89af86e54d932fa19330f36a33af6ed9ea81461d Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
795476c41a
commit
6508365c04
@ -342,9 +342,11 @@ static void processQdocconfFile(const QString &fileName)
|
|||||||
|
|
||||||
qdb->clearSearchOrder();
|
qdb->clearSearchOrder();
|
||||||
if (!Generator::singleExec()) {
|
if (!Generator::singleExec()) {
|
||||||
Generator::debug(" loading index files");
|
if (!Generator::preparing()) {
|
||||||
loadIndexFiles(config);
|
Generator::debug(" loading index files");
|
||||||
Generator::debug(" done loading index files");
|
loadIndexFiles(config);
|
||||||
|
Generator::debug(" done loading index files");
|
||||||
|
}
|
||||||
qdb->newPrimaryTree(project);
|
qdb->newPrimaryTree(project);
|
||||||
}
|
}
|
||||||
else if (Generator::preparing())
|
else if (Generator::preparing())
|
||||||
|
Loading…
Reference in New Issue
Block a user