Re: [CMake] order of include dirs

2006-04-04 Thread Alexander Neundorf
> Von: Brad King <[EMAIL PROTECTED]> > > Alexander Neundorf wrote: > > How does the new feature CMAKE_INCLUDE_CURRENT_DIR work in this regard ? > > > I think the current dirs should always be the very first to be searched. > > > Is this the case, can this be done ? > > The direct

Re: [CMake] order of include dirs

2006-04-04 Thread Brad King
Alexander Neundorf wrote: How does the new feature CMAKE_INCLUDE_CURRENT_DIR work in this regard ? I think the current dirs should always be the very first to be searched. Is this the case, can this be done ? The directories added by this variable are always first. P.S. just for the case

Re: [CMake] order of include dirs

2006-03-31 Thread Alexander Neundorf
> Von: "Alexander Neundorf" <[EMAIL PROTECTED]> > > > Von: Brad King <[EMAIL PROTECTED]> > > ... > > Yes, in hindsight it would clearly have been better to make BEFORE > > the default behavior. However, messing with include directory > > ordering now will potentially break many p

Re: [CMake] order of include dirs

2006-03-30 Thread Alexander Neundorf
> --- Ursprüngliche Nachricht --- > Von: Brad King <[EMAIL PROTECTED]> > An: Alexander Neundorf <[EMAIL PROTECTED]> > Kopie: cmake@cmake.org > Betreff: Re: [CMake] order of include dirs > Datum: Thu, 30 Mar 2006 16:23:16 -0500 > > Alexander Neundor

Re: [CMake] order of include dirs

2006-03-30 Thread Brad King
Alexander Neundorf wrote: Von: Brad King <[EMAIL PROTECTED]> Alexander Neundorf wrote: What about the first idea ? I think this would fit good to the include_directories() command. I think a magic switch that can easily be accidentally inherited by projects not expecting it will n

Re: [CMake] order of include dirs

2006-03-30 Thread Alexander Neundorf
> --- Ursprüngliche Nachricht --- > Von: Brad King <[EMAIL PROTECTED]> > An: Alexander Neundorf <[EMAIL PROTECTED]> > Kopie: cmake@cmake.org > Betreff: Re: [CMake] order of include dirs > Datum: Thu, 30 Mar 2006 09:42:44 -0500 > > Alexander

Re: [CMake] order of include dirs

2006-03-30 Thread Brad King
Alexander Neundorf wrote: Von: Brad King <[EMAIL PROTECTED]> Alexander Neundorf wrote: in KDE we have the problem that e.g. when compiling kdebase the headers in the source dir should be preferred over the installed ones. Usually we would do include_directories( ${KDE4_INCLUDES} ) in t

Re: [CMake] order of include dirs

2006-03-29 Thread Alexander Neundorf
> Von: Brad King <[EMAIL PROTECTED]> > > Alexander Neundorf wrote: > > in KDE we have the problem that e.g. when compiling kdebase the > > headers > > in the source dir should be preferred over the installed ones. > > Usually we would do > > include_directories( ${KDE4_INCLUDES} ) in th

Re: [CMake] order of include dirs

2006-03-28 Thread Brad King
Alexander Neundorf wrote: in KDE we have the problem that e.g. when compiling kdebase the headers in the source dir should be preferred over the installed ones. Usually we would do include_directories( ${KDE4_INCLUDES} ) in the toplevel CMakeLists.txt. When adding more include dirs in CMakeLi

[CMake] order of include dirs

2006-03-27 Thread Alexander Neundorf
Hi, in KDE we have the problem that e.g. when compiling kdebase the headers in the source dir should be preferred over the installed ones. Usually we would do include_directories( ${KDE4_INCLUDES} ) in the toplevel CMakeLists.txt. When adding more include dirs in CMakeLists.txt in deeper di