☰
Debian Codegraph
@
4.3.4-1
/
/
Tests
/
RunCMake
/
continue
/
ContinueForEachInLists.cmake
☽
☼
Tests/RunCMake/continue/ContinueForEachInLists.cmake
code
plain
raw
BSD-3-clause
2000-2025 Kitware, Inc. and Contributors
debian/copyright
1
list(APPEND foo 1 2 3 4 5)
2
3
message(STATUS "start")
4
foreach(iter IN LISTS foo)
5
if("${iter}" EQUAL 1 OR "${iter}" EQUAL 3 OR "${iter}" EQUAL 5)
6
continue()
7
endif()
8
message(STATUS "${iter}")
9
endforeach()
10
message(STATUS "end")