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:
if( MSVC90 )
...
endif()

But how do I check something like this:

if( MSVC_VERSION GREATER 9 OR MSVC_VERSION EQUAL 9 )
...
endif()

I realize MSVC_VERSION doesn't exist, but this is mainly pseudocode to show
you what I'm looking for. Help is appreciated.
_______________________________________________
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