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
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
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