On Sat, Jun 27, 2009 at 2:16 PM, Tyler Roscoe <ty...@cryptio.net> wrote:

> On Sat, Jun 27, 2009 at 01:41:58PM -0500, Robert Dailey wrote:
> > There is a specific compiler flag that I'm telling CMake to use for the
> MSVC
> > compiler, however this flag is only supported by MSVC90 and higher. Right
> > now I'm doing this:
> >
> > I realize MSVC_VERSION doesn't exist
>
> O RLY?
>
> http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:MSVC_VERSION
>
> One of the Windows platform modules uses this if you want to see an
> example.


Holy crap! I didn't know that existed :)

The problem is that there is no central location for this data. I was
referencing the useful
variables<http://www.cmake.org/Wiki/CMake_Useful_Variables>page on the
CMake Wiki, and no mention of MSVC_VERSION existed.

Thanks for your help.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to