<div>When using Visual Studio 10 as the generator from the CMake GUI, it complains that it can't find 'cl' ("To use the NMake generator, cmake must be run from a shell that can use the compiler cl from the command line.") It works if I use:</div>
<div><br></div><div>cmake -G "NMake Makefiles"</div><div><br></div><div>from the VS command line, so I'm assuming it is just an environment problem. </div><div><br></div><div>Why doesn't CMake setup the environment automatically when you choose the generator? Are there any instructions on how to setup the environment for this? It seems like a super standard thing to do, no?</div>
<div><br></div>Thanks,<div><br>David<br>
</div>