[CMake] cmake and vc generators

William A. Hoffman billlist at nycap.rr.com
Sun Feb 26 22:45:06 EST 2006


At 05:42 PM 2/26/2006, Prakash Punnoor wrote:
>Hi,
>
>I managed to get my project file working for windows with the nmake generator. 
>But trying to use any of the other vc generators leads to an error with cl, 
>but I don't get any output. (Why would here the compiler fail, if it doesn't 
>fail with nmake?) Is my CMakeLists.txt too complex (see openal.org, cvs, 
>portable module)? Or what might be the problem? cmake and CMakeSetup work 
>well with nmake (though it was PITA for CMakeSetup to get all env vars 
>going.)
>
>I use Visual C++ 2005 Express and current platform sdk for WinXP 32 retail.

Try running again, but put this in your environment before running:

vsconsoleoutput=1

That should give you some output on what is wrong.  Most likely it is the
but in Windows-cl.cmake.  Make sure these:
odbc32.lib odbccp32.lib

are not in CMAKE_STANDARD_LIBRARIES for that compiler.


>BTW, is cmake ready for Windows x64?

No, it is not.  With the right flags and nmake it should work, but it does
not yet generated 64 bit windows IDE files.

-Bill



More information about the CMake mailing list