summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testGeneratedFileStream.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-03 12:10:18 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-03 12:10:18 (GMT)
commitbfdf1322e7638687c96b323b1df20fd9c08b3044 (patch)
treec216079eb479d30f8dacd119dbdc5f487966b44e /Tests/CMakeLib/testGeneratedFileStream.cxx
parent4da61391eec301ab564ac8e3e5ee9dc7ffd4f8de (diff)
parentefed6468eda950644014ccfada85300710e05009 (diff)
downloadCMake-bfdf1322e7638687c96b323b1df20fd9c08b3044.zip
CMake-bfdf1322e7638687c96b323b1df20fd9c08b3044.tar.gz
CMake-bfdf1322e7638687c96b323b1df20fd9c08b3044.tar.bz2
Merge topic 'include-what-you-use'
efed6468 fix a load of include-what-you-use violations bd3d0eaf cmCTest: don't redefine cout and cerr 3838a0d5 make sure to include cmConfigure.h before cmStandardIncludes.h 54140848 Tests/CMakeLib: include what you use 3f9c4cdf Tests/CMakeLib: use cmsys::ifstream
Diffstat (limited to 'Tests/CMakeLib/testGeneratedFileStream.cxx')
-rw-r--r--Tests/CMakeLib/testGeneratedFileStream.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testGeneratedFileStream.cxx b/Tests/CMakeLib/testGeneratedFileStream.cxx
index e5a2f4d..a31cc42 100644
--- a/Tests/CMakeLib/testGeneratedFileStream.cxx
+++ b/Tests/CMakeLib/testGeneratedFileStream.cxx
@@ -12,6 +12,9 @@
#include "cmGeneratedFileStream.h"
#include "cmSystemTools.h"
+#include <iostream>
+#include <string>
+
#define cmFailed(m1, m2) \
std::cout << "FAILED: " << m1 << m2 << "\n"; \
failed = 1