CMake/Tests/RunCMake/continue/ContinueWhile.cmake

11 lines
214 B
CMake

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")