function.cmake 112 B

1234567
  1. function(recursive x)
  2. message("${x}")
  3. math(EXPR y "${x} + 1")
  4. recursive(${y})
  5. endfunction()
  6. recursive(3)