Merge topic 'curl-tls-verify'
[kiteware-cmake.git] / Source / cmStateTypes.h
blob24b809b57121b0023b60cab40ecafe1b08953dd3
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
4 #pragma once
6 #include "cmConfigure.h" // IWYU pragma: keep
8 #include "cmLinkedTree.h"
10 namespace cmStateDetail {
11 struct SnapshotDataType;
12 using PositionType = cmLinkedTree<cmStateDetail::SnapshotDataType>::iterator;
15 namespace cmStateEnums {
17 enum SnapshotType
19 BaseType,
20 BuildsystemDirectoryType,
21 DeferCallType,
22 FunctionCallType,
23 MacroCallType,
24 IncludeFileType,
25 InlineListFileType,
26 PolicyScopeType,
27 VariableScopeType
30 // There are multiple overlapping ranges represented here. Be aware that adding
31 // a value to this enumeration may cause failures in numerous places which
32 // assume details about the ordering.
33 enum TargetType
35 EXECUTABLE,
36 STATIC_LIBRARY,
37 SHARED_LIBRARY,
38 MODULE_LIBRARY,
39 OBJECT_LIBRARY,
40 UTILITY,
41 GLOBAL_TARGET,
42 INTERFACE_LIBRARY,
43 UNKNOWN_LIBRARY
46 enum CacheEntryType
48 BOOL = 0,
49 PATH,
50 FILEPATH,
51 STRING,
52 INTERNAL,
53 STATIC,
54 UNINITIALIZED
57 enum ArtifactType
59 RuntimeBinaryArtifact,
60 ImportLibraryArtifact
64 namespace cmTraceEnums {
66 /** \brief Define supported trace formats **/
67 enum class TraceOutputFormat
69 Undefined,
70 Human,
71 JSONv1