On second thought, I suppose what I really want to check for is MSVC in general, since you can still compile using MSVC without Visual Studio.<br><br><div class="gmail_quote">On Tue, Jun 9, 2009 at 7:06 PM, Robert Dailey <span dir="ltr">&lt;<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Is there a clean and compact way I can find out if Visual Studio targets are being built? Note that I want to be able to check this regardless of the version. I know I can check CMAKE_GENERATOR, but I would end up having to check around 8 strings for all possible versions of visual studio. Is there a cleaner way?
</blockquote></div><br>