2012-03-02 00:12:55 +04:00
|
|
|
set(NUMBERS "")
|
|
|
|
set(COUNT 0)
|
|
|
|
|
|
|
|
while(COUNT LESS 200)
|
2016-07-28 01:43:04 +03:00
|
|
|
string(APPEND NUMBERS " ${COUNT}")
|
2012-03-02 00:12:55 +04:00
|
|
|
set(COUNT "2${COUNT}")
|
|
|
|
|
|
|
|
set(NCOUNT 3)
|
|
|
|
while(NCOUNT LESS 31)
|
2016-07-28 01:43:04 +03:00
|
|
|
string(APPEND NUMBERS " ${NCOUNT}")
|
|
|
|
string(APPEND NCOUNT "0")
|
2012-03-02 00:12:55 +04:00
|
|
|
endwhile()
|
2012-08-13 21:50:14 +04:00
|
|
|
endwhile()
|
2012-03-02 00:12:55 +04:00
|
|
|
|
|
|
|
if(NOT NUMBERS STREQUAL " 0 3 30 20 3 30")
|
|
|
|
message(SEND_ERROR "while loop nesting error, result: '${NUMBERS}'")
|
|
|
|
endif()
|