summaryrefslogtreecommitdiffstats
path: root/apiextractor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apiextractor.cpp')
-rw-r--r--apiextractor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/apiextractor.cpp b/apiextractor.cpp
index a8fe38b4..700e8507 100644
--- a/apiextractor.cpp
+++ b/apiextractor.cpp
@@ -216,6 +216,9 @@ bool ApiExtractor::run()
}
QTemporaryFile ppFile;
+#ifndef NDEBUG
+ ppFile.setAutoRemove(false);
+#endif
// run rpp pre-processor
if (!preprocess(m_cppFileName, ppFile, m_includePaths)) {
std::cerr << "Preprocessor failed on file: " << qPrintable(m_cppFileName);