Re: How can I specify dependencies in VS2005 like I did in VC 6?
- From: "Ben Voigt [C++ MVP]" <rbv@xxxxxxxxxxxxx>
- Date: Thu, 14 Jun 2007 21:51:20 -0500
"Anthony Wieser" <newsgroups-sansspam@xxxxxxxxxxxxxxxxxxx> wrote in message news:OQBYMYOrHHA.5092@xxxxxxxxxxxxxxxxxxxxxxx
Back in VC6, it used to be possible to right click a file in the file view tab of workspace pane, and specify that a file depended on another file.
I'm trying to get all of this to work on VS2005, but it doesn't seem possible. In fact, I'm having trouble figuring out if dependencies work at all, as sometimes my builds don't seem to rebuild correctly if I change header files.
What I want to do is automatically generate a .h file from custom properties set in a project (a vsprops file I added), and then include that .h file in the build of my .rc file, via the resource includes.
Any pointers to documentation that explains how builds actually determine dependencies, and how I can manually specify it would be greatly appreciated.
Most dependencies are automatically determined from the #include list of each source file.
Beyond that, if you have custom build steps you can specify the list of inputs and outputs, making a dependency used for minimal rebuild.
Anthony Wieser
Wieser Software Ltd
.
- Follow-Ups:
- Re: How can I specify dependencies in VS2005 like I did in VC 6?
- From: Anthony Wieser
- Re: How can I specify dependencies in VS2005 like I did in VC 6?
- Prev by Date: Re: Conditional Includes
- Next by Date: Re: How can I specify dependencies in VS2005 like I did in VC 6?
- Previous by thread: Re: How can I specify dependencies in VS2005 like I did in VC 6? (now working, but Why?)
- Next by thread: Re: How can I specify dependencies in VS2005 like I did in VC 6?
- Index(es):
Relevant Pages
|