[CMake] Why is ${OUTPUT} empty when using msvc

Brad King brad.king at kitware.com
Wed Feb 15 01:39:47 EST 2006


Brad King wrote:
> Christian Ehrlicher wrote:
> 
>> can sombody tell me why ${OUTPUT} is empty?
>> I don't see any reason why it should not work with msvc. Can sombody
>> give me a hint where to look for in the sourcecode?
> 
> This is a problem with VCExpress 2005 only because the tool itself does 
> not produce output.  CMake is capturing all the output the native build 
> tool produces...which is nothing :(
> 
> We're looking into a work-around.

If the environment contains the setting

   vsconsoleoutput=1

then VCExpress.exe does produce output!  I'll update CMake to include 
this in the environment when it runs VCExpress.exe but for now you can 
get going by adding this to your environment before running CMake.

-Brad


More information about the CMake mailing list