[CMake] VC2010 Express + CMake = fails

Robert Dailey rcdailey at gmail.com
Sat Nov 19 09:46:17 EST 2011


Seems that for some reason the VC2010 scripts are finding the VS 2003
compiler, which is where the shorthand form of that path points. Obviously
the path for VC2010 Express doesn't have ".NET" in the path.

Where is it looking for the path to VC2010 Express? Maybe my environment is
setup improperly.

---------
Robert Dailey


On Fri, Nov 18, 2011 at 10:48 PM, Bill Hoffman <bill.hoffman at kitware.com>wrote:

> On 11/18/2011 6:58 PM, Robert Dailey wrote:
>
>> Well since this is VC Express, I don't have a "devenv.com
>> <http://devenv.com>" file in my Common7 folder, so I guess that explains
>> it?
>>
>>
>> Shouldn't CMake support VC2010 express?
>>
>> ---------
>>
>
> It does, it is just confused because you have two compilers...
>
> See Modules/CMakeVS10FindMake.**cmake  for the logic.  Basically, you
> need to set CMAKE_MAKE_PROGRAM to MSBuild I think.   I can't remember but I
> think there was some issue with VCExpress.exe and VS 2010 not working at
> all.
>
> -Bill
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111119/6717b2f2/attachment-0001.htm>


More information about the CMake mailing list