8 lines
112 B
CMake
Raw Normal View History

2019-11-11 23:01:05 +01:00
function(recursive x)
message("${x}")
math(EXPR y "${x} + 1")
recursive(${y})
endfunction()
recursive(3)