In a CMake script, how to increment a variable ?
I was expecting a function like \"increment(VAR)\" but couldn\'t find any.
MATH(EXPR VAR "${VAR}+1")
CMake documentation