diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-01 18:59:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-03 12:04:56 (GMT) |
commit | efed6468eda950644014ccfada85300710e05009 (patch) | |
tree | 34373674a96941d95ee8443e34936ff66da8f56a /Source/cmcmd.cxx | |
parent | bd3d0eafbb362fbc0f140c228da85791a473e44e (diff) | |
download | CMake-efed6468eda950644014ccfada85300710e05009.zip CMake-efed6468eda950644014ccfada85300710e05009.tar.gz CMake-efed6468eda950644014ccfada85300710e05009.tar.bz2 |
fix a load of include-what-you-use violations
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r-- | Source/cmcmd.cxx | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index f25c085..c2e1d53 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -16,29 +16,37 @@ #include "cmLocalGenerator.h" #include "cmMakefile.h" #include "cmQtAutoGenerators.h" +#include "cmState.h" +#include "cmSystemTools.h" #include "cmUtils.hxx" #include "cmVersion.h" +#include "cm_auto_ptr.hxx" +#include "cmake.h" #if defined(CMAKE_BUILD_WITH_CMAKE) #include "cmDependsFortran.h" // For -E cmake_copy_f90_mod callback. #endif -#include <cmsys/Directory.hxx> -#include <cmsys/FStream.hxx> -#include <cmsys/Process.h> -#include <cmsys/Terminal.h> +#if defined(CMAKE_BUILD_WITH_CMAKE) && defined(_WIN32) +#include "bindexplib.h" +#endif #if defined(CMAKE_BUILD_WITH_CMAKE) && defined(_WIN32) && !defined(__CYGWIN__) #include "cmVisualStudioWCEPlatformParser.h" #endif +#include <algorithm> +#include <cmConfigure.h> +#include <cmsys/Directory.hxx> +#include <cmsys/FStream.hxx> +#include <cmsys/Process.h> +#include <cmsys/Terminal.h> +#include <iostream> +#include <sstream> +#include <stdio.h> +#include <stdlib.h> #include <time.h> -#include <stdlib.h> // required for atoi -#if defined(_WIN32) && defined(CMAKE_BUILD_WITH_CMAKE) -#include "bindexplib.h" -#endif - void CMakeCommandUsage(const char* program) { std::ostringstream errorStream; |