summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-17 14:46:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-17 14:46:32 (GMT)
commit29593b79a236f9bd6653ed0ab874444ae4f38f00 (patch)
treed992109374b95f30203572a518d11ae74c993719 /Tests/CMakeLib
parentc700d11d259af9c00680321804669fadbe378a22 (diff)
parenta2af850ba6dbee7797484ec5f6696525123023fc (diff)
downloadCMake-29593b79a236f9bd6653ed0ab874444ae4f38f00.zip
CMake-29593b79a236f9bd6653ed0ab874444ae4f38f00.tar.gz
CMake-29593b79a236f9bd6653ed0ab874444ae4f38f00.tar.bz2
Merge topic 'include-what-you-use'
a2af850b fix a batch of include-what-you-use violations
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r--Tests/CMakeLib/run_compile_commands.cxx8
-rw-r--r--Tests/CMakeLib/testSystemTools.cxx3
2 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx
index b811c7f..502ffe7 100644
--- a/Tests/CMakeLib/run_compile_commands.cxx
+++ b/Tests/CMakeLib/run_compile_commands.cxx
@@ -1,5 +1,13 @@
#include "cmSystemTools.h"
+#include <fstream>
+#include <iostream>
+#include <map>
+#include <stdlib.h>
+#include <string>
+#include <utility>
+#include <vector>
+
class CompileCommandParser
{
public:
diff --git a/Tests/CMakeLib/testSystemTools.cxx b/Tests/CMakeLib/testSystemTools.cxx
index a3846c0..e654d1e 100644
--- a/Tests/CMakeLib/testSystemTools.cxx
+++ b/Tests/CMakeLib/testSystemTools.cxx
@@ -11,6 +11,9 @@
============================================================================*/
#include "cmSystemTools.h"
+#include <iostream>
+#include <string>
+
#define cmPassed(m) std::cout << "Passed: " << m << "\n"
#define cmFailed(m) \
std::cout << "FAILED: " << m << "\n"; \