Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Mon, 08 Sep 2008 21:12:53 +0200,    group: microsoft.public.vstudio.general        back       


Additional Include Directories, how to add sub folder?   
Hi!

I've added an include folder under project settings. The included files
inside the folder will be found.

But any include file inside the new folder that will include another one
in /subdir/header.h will not be found.

How can I tell VS 05 to search also all subfolders of include directory's ?

Regards,
-mr
date: Mon, 08 Sep 2008 21:12:53 +0200   author:   Michael Reichenbach

Re: Additional Include Directories, how to add sub folder?   
Michael Reichenbach wrote:
> Hi!
> 
> I've added an include folder under project settings. The included files
> inside the folder will be found.
> 
> But any include file inside the new folder that will include another one
> in /subdir/header.h will not be found.
> 
> How can I tell VS 05 to search also all subfolders of include directory's ?

Michel:

You don't like to put the path in the #include itself:

#include "subdir/header.h"

?

-- 
David Wilkinson
Visual C++ MVP
date: Tue, 09 Sep 2008 04:57:06 -0400   author:   David Wilkinson

Re: Additional Include Directories, how to add sub folder?   
David Wilkinson schrieb:
> Michael Reichenbach wrote:
>> Hi!
>>
>> I've added an include folder under project settings. The included files
>> inside the folder will be found.
>>
>> But any include file inside the new folder that will include another one
>> in /subdir/header.h will not be found.
>>
>> How can I tell VS 05 to search also all subfolders of include
>> directory's ?
> 
> Michel:
> 
> You don't like to put the path in the #include itself:
> 
> #include "subdir/header.h"
> 
> ?
> 

No I really don't like to to this, because its a third party library
that wants to #include "subdir/header.h" and for maintenance reasons I
don't want to mess with this library.

Also adding all subfolders myself would be kinda a mess because it are a
lot.

Regards,
-mr
date: Tue, 09 Sep 2008 14:31:01 +0200   author:   Michael Reichenbach

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us