Adding Directories to VC++ Project

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mickey22
    New Member
    • Feb 2007
    • 105

    Adding Directories to VC++ Project

    Hi all,

    I have some header files in Clear Case environment..I need to include some of the header files into one of my VC++(2005 version) project..For example the path starts as say

    x:/vcc/abcc.h

    Should I have to include the whole path including the drive in my VC++ Project settings or just starting from /vcc....

    Thanks
  • DeMan
    Top Contributor
    • Nov 2006
    • 1799

    #2
    The best way (I think[I haven't used vc++]) is to include the path relative to where the project file is (If ur using a makefile this is even better, start from it's own directory) (so that other clearcase users in the same view can definitely see the file).

    Thus if you want to include:

    g:\myProject\im portantHeader\h dr\thisFile.h
    and your makefile or your project file is in
    g:\myProject\my TestDriver\test Suite

    you would declare the path as ..\..\important Header\hdr\this File.h

    Of course if I used \ instead of / you would change this also......

    Comment

    Working...