[CMake] Wrong version of cl.exe for x64

Albrecht Schlosser AlbrechtS.fltk at online.de
Mon Aug 22 07:30:02 EDT 2016


On 22.08.2016 12:54 Nils Gladitz wrote:
> On 08/22/2016 12:18 PM, Albrecht Schlosser wrote:
>
>> On 22.08.2016 10:33 Nils Gladitz wrote:
>>
>>> The visual studio command line environments should have no effect when
>>> using the visual studio generators.
>>
>> Are you sure? Or what does "should" mean here? ;-)
>
> Yes. The Visual Studio generators are meant to work outside of the
> visual studio command line environments while the command line
> generators (makefiles, ninja) are meant to work from within the visual
> studio command line environment.
>
> What that means is that the Visual Studio generators must work without it.

Okay, I posted a simple example CMake file to show what happens in my 
case. See new thread:

"Visual Studio generator does not find some header files"

Basically some special (SDK?) header files are not found when executing 
CMake w/o the Visual Studio environment.



More information about the CMake mailing list