From deaa0cc137bcc00bee815ad3be9655b40c71c472 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 29 Mar 2010 17:59:27 +0200 Subject: Only build outputparser tester when compileing with tests --- src/plugins/projectexplorer/outputparser_test.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plugins/projectexplorer/outputparser_test.h') 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 -- cgit v1.2.3