In a CMake script, how to increment a 开发者_JAVA技巧variable ?
I was expecting a function like "increment(VAR)" but couldn't find any.
MATH(EXPR VAR "${VAR}+1")
CMake documentation
In a CMake script, how to increment a 开发者_JAVA技巧variable ?
I was expecting a function like "increment(VAR)" but couldn't find any.
MATH(EXPR VAR "${VAR}+1")
CMake documentation
精彩评论