[CMake] breaking out of a for loop

David Cole david.cole at kitware.com
Tue May 22 17:10:11 EDT 2007


I think the only thing that will break is a MESSAGE(FATAL_ERROR call... And
that's not really convenient when you want to keep going.

Other than that, you have to use IF constructs within the loop to avoid
hunks of cmake script.

I could be wrong, though. See who else says what. :-)

HTH,
David

On 5/22/07, James Bigler <bigler at cs.utah.edu> wrote:
>
> Is it possible to break out of a for loop?
>
> Thanks,
> James
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070522/7a87b0f9/attachment.htm


More information about the CMake mailing list