aboutsummaryrefslogtreecommitdiffstats
path: root/apiextractor.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-15 18:45:40 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:00 -0300
commit8c03a55d03b2e63b760ec3be4a37285304b65b32 (patch)
tree4da79f7d8342ffdc5bc3fc6f317caad44f9f068e /apiextractor.cpp
parentf267a89cfb4d5bf4e405db9ab1360d90ee70f867 (diff)
Do not set the include file on TypeEntries when the include file does not exists or
it's the global header.
Diffstat (limited to 'apiextractor.cpp')
-rw-r--r--apiextractor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/apiextractor.cpp b/apiextractor.cpp
index 2e16b8ec..00734de8 100644
--- a/apiextractor.cpp
+++ b/apiextractor.cpp
@@ -166,6 +166,7 @@ bool ApiExtractor::run()
ppFile.seek(0);
m_builder = new AbstractMetaBuilder;
m_builder->setLogDirectory(m_logDirectory);
+ m_builder->setGlobalHeader(m_cppFileName);
m_builder->build(&ppFile);
return true;