8 lines
106 B
CMake
8 lines
106 B
CMake
macro(recursive x)
|
|
message("${x}")
|
|
math(EXPR y "${x} + 1")
|
|
recursive(${y})
|
|
endmacro()
|
|
|
|
recursive(3)
|