Genex evaluation: CMake execution aborted.
The following pattern raise an assertion and CMake aborts:
file(GENERATE OUTPUT result.txt CONTENT "$<1:x:,>")
Evaluating this expression gives the following output:
Assertion failed: (false && "Got unexpected syntax token."), function ParseContent, file cmGeneratorExpressionParser.cxx, line 242.
The problem is the character ':' followed by a ','.
Edited by Marc Chevrier