Sign in
cmake
/
cmake
/
76f08a107b344daff524974868ab30353bd9b255
/
.
/
Tests
/
RunCMake
/
continue
/
ContinueForEachInLists.cmake
blob: fbd7359fec39158aa645eb8239aba4810f9b96d7 [
file
] [
log
] [
blame
]
list
(
APPEND foo
1
2
3
4
5
)
message
(
STATUS
"start"
)
foreach
(
iter IN LISTS foo
)
if
(
"${iter}"
EQUAL
1
OR
"${iter}"
EQUAL
3
OR
"${iter}"
EQUAL
5
)
continue
()
endif
()
message
(
STATUS
"${iter}"
)
endforeach
()
message
(
STATUS
"end"
)