Game Development Community

VC++ incremental build problems - some ideas

by Dave Myers · in Torque Game Engine · 09/15/2001 (4:35 pm) · 1 replies

I believe that we at 21-6 are not the only one experiencing the following problem when performing incremental builds, and I don't believe I have seen anyone post a definitive solution, so I thought I would share and see if we can't get down to the final solution. If I'm wrong and this has been discussed elsewhere, please reply with the link to the thread.

If you change a header file in V12 and try to rebuild only the affected files it does not seem to work. If you perform a Rebuild All then it works fine. Of course, we don't want to do a full rebuild anytime we change a header file.

I believe it has something to do with the intermediate files that are generated. Currently, the VC++ project redirects the building of intermediate files to subdirectories of the out.VC6.DEBUG (or RELEASE) directory (e.g. ai or game). I think this is a problem as it is creating multiple .idb files for a single project.

If I look at the Dependencies tab of the Properties of a given file in the project (right click on a file in the Workspace window), there are no dependencies. If I build everything in one directory (including the intermediate files), I am able to see the dependencies just fine. In addition, partial rebuilds work just fine. I didn't see an option in VC++ to allow for multiple locations of .idb files, but that doesn't mean that one doesn't exist.

Thoughts?

About the author

Considerable experience developing with Torque-based technologies and produced the first third-party game using any Torque technology (Orbz). Game designer, programmer, and producer, and credits include the innovative title Orbz and the colorful BuggOut.


#1
09/16/2001 (4:11 am)
I am hoping to update the VC++ Project file for the next release. There seem to be a number of problems that I am hoping can be resolved by making a single unified Project file rather than the split approach.

--Rick