0de867dde2
Inspired-by: Doug Barbieri Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
11 lines
233 B
CMake
11 lines
233 B
CMake
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")
|