> For a lighter weight solution,
> there's vcbuild.exe (included in VC2005 - I'm not sure about 2003 or
> 2002).
It's definitely in 2003/VC7.1 as well. I no longer have 2002/VC7.0
installed to check that.
-cd
Thank you for your informative responses, Carl and Pavel. More
below...
> > We use VS6.0 to support our automated build environment, and we'd like
> > to move to something that is currently supported. One aspect of VS6.0
[quoted text clipped - 14 lines]
> figure out all the dependencies and write it out as a makefile fragment.
> That's a bit of work, but it may be an option.
Perl may be an option. How did the script get the dependencies? Did it
parse the source code directly (say, the .c and .cpp files to look for
.h files, and the .h files to see if they include any other .h files,
etc) or is there another way?
> You can also build the project by simply invoking devenv.exe from the
> command line just as you would nmake. For a lighter weight solution,
> there's vcbuild.exe (included in VC2005 - I'm not sure about 2003 or 2002).
> vcbuild.exe builds a single .vcproj project and is strictly a command-line
> tool.
I have already downloaded VC++ Express in order to get vcbuild.exe, to
try it out, but I haven't been able to figure out this depencency
aspect with that approach. Our old VS6.0 command lines with msdev used
the -ex option to invoke a VS macro we wrote which generated the .dep
files the same way the IDE would. So vcbuild.exe cannot invoke macros,
but using devenv (which does support macros, as I understand) wouldn't
help because the ability for VS to create .dep files doesn't exist in
post-6.0 versions, correct?
The reason we want the dependency info is not just to accomplish a
build, but because we co-develop software with external customers and
we will give them some (but not all) source code directly. We use the
.dep info to know which files we need to give them in order to compile
a particular file, and the ability to create a "delivery build" with
just those files is automated
into our build system.
Thanks again,
Jeanne