[CMake] Checking MSVC90 or higher?

Tyler Roscoe tyler at cryptio.net
Sat Jun 27 15:16:22 EDT 2009


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.

tyler


More information about the CMake mailing list