https://github.com/Kitware/CMake
Raw File
Tip revision: f7cf69e34a1607e8ea2b6d10fef6a6058377c24e authored by Brad King on 27 July 2021, 13:29:13 UTC
CMake 3.21.1
Tip revision: f7cf69e
ContinueForeach.cmake
message(STATUS "start")
foreach(iter RANGE 1 5)
  if("${iter}" EQUAL 1 OR "${iter}" EQUAL 3 OR "${iter}" EQUAL 5)
    continue()
  endif()
  message(STATUS "${iter}")
endforeach()
message(STATUS "end")
back to top