[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Patches with "your name" all over them?
From:       Alexander Neundorf <a.neundorf-work () gmx ! net>
Date:       2009-03-24 20:25:18
Message-ID: 200903242125.18751.a.neundorf-work () gmx ! net
[Download RAW message or body]

On Monday 23 March 2009, Andreas Pakulat wrote:
> On 23.03.09 16:29:24, Bob Tanner wrote:
> > On 2009-03-23 02:36:37 -0500, Andreas Pakulat <apaku@gmx.de> said:
> >>> Looking into cmake files, I do see my name all over :-)
> >>
> >> Seems like you did an in-source build. CMake suggests to use
> >> out-of-source builds at all times so your source directory stays clean.
> >
> > Excellent. Thank you! "My name" is gone.
> >
> > Have another question. doing out-of-source build and I have src files
> > that include QT .moc files, but cannot find them.
> >
> > Normally this files .moc files get generated in the src directory, but
> > out-of-source build put the .moc files into the build/src directory.
>
> Its normal to add CMAKE_CURRENT_BINARY_DIR or CMAKE_BINARY_DIR to the
> include_directories() call. 

Or set CMAKE_INCLUDE_CURRENT_DIR to TRUE, then CMAKE_CURRENT_SOURCE_DIR and 
CMAKE_CURRENT_BINARY_DIR are always added automatically to the include 
directories.

Alex
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic