aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/outputparser_test.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-03-29 17:59:27 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2010-03-29 19:42:12 +0200
commitdeaa0cc137bcc00bee815ad3be9655b40c71c472 (patch)
tree91820fdad74db67d709e43863fd614108da02ba8 /src/plugins/projectexplorer/outputparser_test.h
parente9e84fc1be8acea8b9ae09c5c15e38a6057221c8 (diff)
Only build outputparser tester when compileing with tests
Diffstat (limited to 'src/plugins/projectexplorer/outputparser_test.h')
-rw-r--r--src/plugins/projectexplorer/outputparser_test.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/outputparser_test.h b/src/plugins/projectexplorer/outputparser_test.h
index 89b2292c38..58f51f2d32 100644
--- a/src/plugins/projectexplorer/outputparser_test.h
+++ b/src/plugins/projectexplorer/outputparser_test.h
@@ -30,6 +30,8 @@
#ifndef OUTPUTPARSER_TESTER_H
#define OUTPUTPARSER_TESTER_H
+#if defined(WITH_TESTS)
+
#include "projectexplorer_export.h"
#include "ioutputparser.h"
@@ -86,4 +88,6 @@ private:
Q_DECLARE_METATYPE(ProjectExplorer::OutputParserTester::Channel)
+#endif
+
#endif // OUTPUTPARSER_TESTER_H