Can you tell me if the vcbuild $ALL is the same as the msdev ALL? If
so, how do I use it?
I have a VS 6.0 command "msdev ProjectName.dsw /make ALL /clean" which,
I believe, builds all the .dsp configurations in the .dsw file. I'm
trying to figure out how to accomplish the same thing using vcbuild.
However, putting in $ALL, ALL, "$ALL" and any other variation I can
think of do not work. Help? What is the proper syntax?
I have already used the new VC++ to open the .dsw file and convert it
to .sln with .vcproj files, and I'm trying to use vcbuild on the
ProjectName.sln file in a similar way.
If vcbuild will not accomplish that, would devenv be a better choice?
A separate questions: I've read that vcbuild has problems with pre
build events, generated cpp files, or projects which have more than one
level of depencency, and that /rebuild should alleviate
"most" issues. Do you know if this is still the case?
Thanks,
JeanneP
PS: responding via email will bounce. Please post. Thank you!
Pavel A. - 27 Jul 2006 18:07 GMT
Try the msbuld forum:
http://forums.microsoft.com/msdn/showforum.aspx?forumid=27&siteid=1
Regards,
--PA
> Can you tell me if the vcbuild $ALL is the same as the msdev ALL? If
> so, how do I use it?
[quoted text clipped - 19 lines]
>
> PS: responding via email will bounce. Please post. Thank you!
Carl Daniel [VC++ MVP] - 28 Jul 2006 04:18 GMT
> Can you tell me if the vcbuild $ALL is the same as the msdev ALL? If
> so, how do I use it?
[quoted text clipped - 7 lines]
> to .sln with .vcproj files, and I'm trying to use vcbuild on the
> ProjectName.sln file in a similar way.
Just type vcbuild /? at the command prompt for lots of friendly help.
In your case, the equivalent to
msdev /make ALL /clean
is something along the lines of
vcbuild /rebuild mysolution.sln "Release|Win32"
> If vcbuild will not accomplish that, would devenv be a better choice?
You can use devenv - it just calls vcbuild to build the C++ projects, but it
can also build MSBuild projects and other visual studio projects that are
neither of the above (e.g. visual studio deployment projects).
> A separate questions: I've read that vcbuild has problems with pre
> build events, generated cpp files, or projects which have more than
> one level of depencency, and that /rebuild should alleviate
> "most" issues. Do you know if this is still the case?
I haven't heard of those issues, so I can't help you there.
-cd