summaryrefslogtreecommitdiffstats
path: root/Source/cmStateTypes.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-03-07 14:30:07 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2017-03-07 14:30:07 (GMT)
commit322425faca3fa6dca1356cdcb4c44ea8d46bc32a (patch)
treeab075aeb22d6bf12b3fc8a5fd483a3fef6660e8b /Source/cmStateTypes.h
parentdca58fa27995e5579b8ff52efbc0a20d00f9918d (diff)
downloadCMake-322425faca3fa6dca1356cdcb4c44ea8d46bc32a.zip
CMake-322425faca3fa6dca1356cdcb4c44ea8d46bc32a.tar.gz
CMake-322425faca3fa6dca1356cdcb4c44ea8d46bc32a.tar.bz2
cmStateTypes: document that the ordering of targets is important
The ordering is assumed in many places throughout the code and modification of the enumeration should be done carefully.
Diffstat (limited to 'Source/cmStateTypes.h')
-rw-r--r--Source/cmStateTypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmStateTypes.h b/Source/cmStateTypes.h
index 2c974c1..da14cdb 100644
--- a/Source/cmStateTypes.h
+++ b/Source/cmStateTypes.h
@@ -27,6 +27,9 @@ enum SnapshotType
VariableScopeType
};
+// There are multiple overlapping ranges represented here. Be aware that adding
+// a value to this enumeration may cause failures in numerous places which
+// assume details about the ordering.
enum TargetType
{
EXECUTABLE,