The source project of this merge request has been removed.
cmGeneratorExpressionNode: Code cleanup
In cmGeneratorExpressionNode.cxx
- Simplify code in
EqualNode
by moving the repeating parts into a separate function. - Replace
Angle_RNode
,CommaNode
,SemicolonNode
with single template structCharacterNode
. - Add
lang
argument to constructor ofCompilerIdNode
and replaceCCompilerIdNode
,CXXCompilerIdNode
,CUDACompilerIdNode
,FortranCompilerIdNode
withCompilerIdNode
. - Replace
VersionGreaterNode
,VersionGreaterEqNode
,VersionLessNode
,VersionLessEqNode
,VersionEqualNode
with single template structVersionNode
. - Simplify code in
TargetPropertyNode
by moving parameters checks into a separate function. - Replace macro
BOOLEAN_OP_NODE
with structBooleanOpNode
.
Topic-rename: genex-code-cleanup
Edited by Brad King