summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h46
1 files changed, 1 insertions, 45 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index c7cf756..938c90b 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -12,6 +12,7 @@
#include "cmProperty.h"
#include "cmPropertyDefinitionMap.h"
#include "cmPropertyMap.h"
+#include "cmStateTypes.h"
#include <map>
#include <set>
@@ -23,51 +24,6 @@ class cmCommand;
class cmListFileBacktrace;
class cmPropertyDefinition;
-namespace cmStateDetail {
-struct BuildsystemDirectoryStateType;
-struct SnapshotDataType;
-struct PolicyStackEntry;
-typedef cmLinkedTree<cmStateDetail::SnapshotDataType>::iterator PositionType;
-}
-
-namespace cmStateEnums {
-
-enum SnapshotType
-{
- BaseType,
- BuildsystemDirectoryType,
- FunctionCallType,
- MacroCallType,
- IncludeFileType,
- InlineListFileType,
- PolicyScopeType,
- VariableScopeType
-};
-
-enum TargetType
-{
- EXECUTABLE,
- STATIC_LIBRARY,
- SHARED_LIBRARY,
- MODULE_LIBRARY,
- OBJECT_LIBRARY,
- UTILITY,
- GLOBAL_TARGET,
- INTERFACE_LIBRARY,
- UNKNOWN_LIBRARY
-};
-enum CacheEntryType
-{
- BOOL = 0,
- PATH,
- FILEPATH,
- STRING,
- INTERNAL,
- STATIC,
- UNINITIALIZED
-};
-}
-
class cmStateDirectory;
class cmStateSnapshot;