Re: How can I specify dependencies in VS2005 like I did in VC 6?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"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


.



Relevant Pages

  • Re: [PATCH] make miniconfig (take 2)
    ... that symbols can be set by dependencies, ... miniconfig is an action changing the default state. ... So really a miniconfig can't specify an inconsistent state, ... I suspect there are guard symbols that are also ...
    (Linux-Kernel)
  • Re: Using MAPI to send MMS: Link Errror
    ... Input and added mapi.lib to Additional dependencies ... any other parameters i need to specify? ... i tought the header files should include these two ... // Replace with specific error handling. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Attach event/function to links within span tag
    ... >> Michael Winter wrote: ... > short notation and removes any dependencies on the color ... > That seems to make it rather clear that #00f and #0000ff specify the ... > onload attribute or the onload property? ...
    (comp.lang.javascript)
  • Static Libraries and dependencies
    ... It appears that MSVC 6 has a different concept of dependencies that I do. ... If I specify that Library B is dependent on Library A, ... I find it totally unbeleivable that specifying dependencies changes ...
    (microsoft.public.vc.ide_general)