summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-16 23:08:13 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-16 23:08:13 (GMT)
commita2af850ba6dbee7797484ec5f6696525123023fc (patch)
treef1ffb7acf4b899209bd22d67b9e1232dfa54a1ea /Source/cmTarget.h
parente240a7c0176450e092e2398148c1e13f8940c239 (diff)
downloadCMake-a2af850ba6dbee7797484ec5f6696525123023fc.zip
CMake-a2af850ba6dbee7797484ec5f6696525123023fc.tar.gz
CMake-a2af850ba6dbee7797484ec5f6696525123023fc.tar.bz2
fix a batch of include-what-you-use violations
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 209a729..fc30166 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -12,14 +12,23 @@
#ifndef cmTarget_h
#define cmTarget_h
-#include "cmStandardIncludes.h"
+#include <cmConfigure.h> // IWYU pragma: keep
+#include "cmAlgorithms.h"
#include "cmCustomCommand.h"
#include "cmListFileCache.h"
#include "cmPolicies.h"
#include "cmPropertyMap.h"
+#include "cmState.h"
+#include "cmTargetLinkLibraryType.h"
+
+#include <iosfwd>
+#include <map>
+#include <set>
+#include <string>
+#include <utility>
+#include <vector>
-#include <cm_auto_ptr.hxx>
#if defined(CMAKE_BUILD_WITH_CMAKE)
#ifdef CMake_HAVE_CXX_UNORDERED_MAP
#include <unordered_map>
@@ -28,16 +37,10 @@
#endif
#endif
-class cmake;
class cmMakefile;
class cmSourceFile;
-class cmGlobalGenerator;
-class cmListFileBacktrace;
-class cmTarget;
-class cmGeneratorTarget;
-class cmTargetTraceDependencies;
-
class cmTargetInternals;
+
class cmTargetInternalPointer
{
public: