[CMake] Visual Studio 8

Jesper Eskilson jesper at eskilson.se
Tue Sep 18 10:24:37 EDT 2007


Hi,

If I tell CMake to generate Visual Studio 8 project files, CMake
requires that the right "cl.exe" can be found in PATH. More
specifically, if the wrong cl.exe is found in PATH (say from Visual
Studio 7), then CMake just pukes with some strange error.

This confuses several of my users (who commonly have VS7 first in their
path); they expect that CMake should chose the right compiler since they
have selected the Visual Studio 8 generator.

I can understand how and why this happens, but is there a reason for not
fixing CMake such that it finds the correct compiler?

-- 
/Jesper


More information about the CMake mailing list