[CMake] MSVC not true!

Brad Aisa Brad.Aisa at Colorado.EDU
Sat Dec 20 04:57:06 EST 2008


if (MSVC)
  ...
else (MSVC)
   message(FATAL_ERROR "shouldn't get here")
endif (MSVC)



Christopher Harvey wrote:
> how can you be sure it's not going into the if? what's the full code?
> 
> Brad Aisa wrote:
>> The cmake web site says
>> MSVC: True when using Microsoft Visual C
>> However if I put it in test like this:
>> if (MSVC)
>>  ...
>> it is not true!
>> _______________________________________________
>> CMake mailing list
>> CMake at cmake.org
>> http://www.cmake.org/mailman/listinfo/cmake
>>


More information about the CMake mailing list