You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
233 B
11 lines
233 B
10 years ago
|
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")
|