[CMake] MSVC_VERSION not defined
J.S.Wijnhout at lumc.nl
J.S.Wijnhout at lumc.nl
Wed Dec 10 07:37:48 EST 2008
Hi,
I'm using CMake 2.6.2 on Windows XP. In my CMakeLists.txt I want to test
for the compiler that is used. For Visual Studio 2008 the variable
MSVC_VERSION is set to 1500, however for Visual Studio 2003 7 .NET it is
empty. Why it is empty?
best,
Jeroen
P.S.: I know I can use the booleans MSVC7 and MSVC71 to check for VS
2003 .NET, but I would like to use MSVC_VERSION because it allows me to
compare MSVC_VERSION with a version number.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081210/b39856d9/attachment.htm>
More information about the CMake
mailing list