Alex
Fri Oct 27 04:46:22 CDT 2006
"hswerdfe" wrote:
> if I run something like
>
> msdev MyProgram.dsp /MAKE "ALL" /REBUILD > myBuild.log 2>
> myBuild.err
>
> from the command line.
> I would expect any build errors be put in myBuild.err. but
> regardless of if MyProgram.dsp compiles myBuild.err is
> empty.
>
> Is there an easy way to get just if the program compiled?
> and not have to wade through miles of log files.
> using Visual C++ 6.
MSDEV.EXE has speacial parameter `/OUT <filename>' for
writing log file. For more info look here:
"Building a Project from the Command Line"
http://msdn.microsoft.com/library/en-us/vcug98/html/_asug_building_a_project_from_the_command_line.asp
Also, run "MSDEV.EXE /?" to see full list of available
parametres. IIRC, MSDEV.EXE provides more parameters than
specified in MSDN.
In addition, you can consider exporting project to temporary
make file and then build it with NMAKE. The whole process
can be achieved through command line commands:
"Automated Builds in DevStudio, or the Night Build Scenario"
http://msdn.microsoft.com/library/en-us/dnvs600/html/autobld.asp
HTH
Alex