diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-16 23:08:13 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-16 23:08:13 (GMT) |
commit | a2af850ba6dbee7797484ec5f6696525123023fc (patch) | |
tree | f1ffb7acf4b899209bd22d67b9e1232dfa54a1ea /Tests | |
parent | e240a7c0176450e092e2398148c1e13f8940c239 (diff) | |
download | CMake-a2af850ba6dbee7797484ec5f6696525123023fc.zip CMake-a2af850ba6dbee7797484ec5f6696525123023fc.tar.gz CMake-a2af850ba6dbee7797484ec5f6696525123023fc.tar.bz2 |
fix a batch of include-what-you-use violations
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLib/run_compile_commands.cxx | 8 | ||||
-rw-r--r-- | Tests/CMakeLib/testSystemTools.cxx | 3 |
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"; \ |