ContinueWhile.cmake 217 Bytes
Newer Older
1 2 3
message(STATUS "start")
unset(iter)
while(NOT "${iter}" STREQUAL "aaaaa")
4
  string(APPEND iter "a")
5 6 7 8 9 10
  if("${iter}" STREQUAL "aaa")
    continue()
  endif()
  message(STATUS "${iter}")
endwhile()
message(STATUS "end")