cmake/Tests/RunCMake/continue/ContinueWhile.cmake

11 lines
217 B
CMake
Raw Normal View History

2015-04-27 22:25:09 +02:00
message(STATUS "start")
unset(iter)
while(NOT "${iter}" STREQUAL "aaaaa")
2016-10-30 18:24:19 +01:00
string(APPEND iter "a")
2015-04-27 22:25:09 +02:00
if("${iter}" STREQUAL "aaa")
continue()
endif()
message(STATUS "${iter}")
endwhile()
message(STATUS "end")