summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/continue/ContinueWhile.cmake
blob: c1fa87ac2bd7fc8377b4644334bf40a120faaaa6 (plain)
1
2
3
4
5
6
7
8
9
10
message(STATUS "start")
unset(iter)
while(NOT "${iter}" STREQUAL "aaaaa")
  set(iter "${iter}a")
  if("${iter}" STREQUAL "aaa")
    continue()
  endif()
  message(STATUS "${iter}")
endwhile()
message(STATUS "end")