summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-05-29 18:49:36 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-03 14:20:22 (GMT)
commit2d4787fc4ddc077e1d8fcb807768d1ecc7902a73 (patch)
tree39ebe9da9d8349756c89f08d50e9f44f1ffb4107 /Source/cmGeneratorExpressionNode.h
parent5e2d22c177add56b2538ab10954dfb049c5cf945 (diff)
downloadCMake-2d4787fc4ddc077e1d8fcb807768d1ecc7902a73.zip
CMake-2d4787fc4ddc077e1d8fcb807768d1ecc7902a73.tar.gz
CMake-2d4787fc4ddc077e1d8fcb807768d1ecc7902a73.tar.bz2
Genex: Add more extensive support for an unbounded number of parameters
Previously genex support for unbounded number of parameters required at least 1 parameter. We now support zero or more parameters, and two or more parameters.
Diffstat (limited to 'Source/cmGeneratorExpressionNode.h')
-rw-r--r--Source/cmGeneratorExpressionNode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.h b/Source/cmGeneratorExpressionNode.h
index 3dbfc6e..7a36924 100644
--- a/Source/cmGeneratorExpressionNode.h
+++ b/Source/cmGeneratorExpressionNode.h
@@ -20,7 +20,9 @@ struct cmGeneratorExpressionNode
{
DynamicParameters = 0,
OneOrMoreParameters = -1,
- OneOrZeroParameters = -2
+ TwoOrMoreParameters = -2,
+ ZeroOrMoreParameters = -3,
+ OneOrZeroParameters = -4
};
virtual ~cmGeneratorExpressionNode() = default;