Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hierarchal.directories in Project.

Status
Not open for further replies.

spetros

Programmer
Feb 27, 2002
1
US
Hello.
Is there any way to set up a hierarchal directory structure in a VC++ project? Unless Im missing something, Im not talking about the Options->Tools->Directories option.

Here's a simplified example of what I want to do.
Have a directory structure:
C:\Gold
C:\Gold\src
C:\Gold\include etc.. this is where the best working copy of the code exists.

Another directory structure:
C:\User
C:\User\src etc... where users copy from C:\Gold **ONLY files they want to change**...

(if you are familiar with Unix and gmake, you probably see where Im going with this :)

So C:\Gold\src and C:\User\src could contain the same source file, but I want the VC++ Project/make file to "search a
Hierarchal directory tree" and use the src file in C:\User\src before the one in C:\Gold\src. For all other unchanged source/include files, it would use the files in C:\Gold. Keep in mind I want to be able to "see" all the files contained in a project in the "Filelist" view tab of the IDE. Its just that if I right click the "properties" of one file, it may exist in a different directory than another file.

Is this scheme possible in Visual Studio? Ive played around with the IDE and .dsp settings, but the project file seems to want all its source/include etc. files in the same directory.

Thank you very much for any help,
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top