diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-18 19:28:48 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-19 13:40:59 (GMT) |
commit | 27be1d815298ebf343823ff99baa35484da92a85 (patch) | |
tree | 87bd55dec559ea99a30dc6628942f0e76a0ba4b0 /Source/cmStateTypes.h | |
parent | 34433c88e259493a22c59558e1ee052251f2c149 (diff) | |
download | CMake-27be1d815298ebf343823ff99baa35484da92a85.zip CMake-27be1d815298ebf343823ff99baa35484da92a85.tar.gz CMake-27be1d815298ebf343823ff99baa35484da92a85.tar.bz2 |
cmState: Move extracted declarations to a separate file
Diffstat (limited to 'Source/cmStateTypes.h')
-rw-r--r-- | Source/cmStateTypes.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Source/cmStateTypes.h b/Source/cmStateTypes.h new file mode 100644 index 0000000..75f9e60 --- /dev/null +++ b/Source/cmStateTypes.h @@ -0,0 +1,55 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ + +#ifndef cmStateTypes_h +#define cmStateTypes_h + +#include "cmLinkedTree.h" + +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 +}; +} + +#endif |