[CMake] moc includes from source directory

Craig Bradney cbradney at zip.com.au
Tue Dec 19 16:57:24 EST 2006


On Monday 18 December 2006 19:40, Alexander Neundorf wrote:
> Von: Craig Bradney <cbradney at zip.com.au>
>
> > Hi,
> >
> > I'm wondering if theres an option or setting I have missed for outof
> > source builds.
> >
> > When you build Scribus out of source, and the source directory has been
> > used
> > for building in-source with autotools, the moc files from the source
> > directory are used instead of cmake creating them in its own directories
> > in the build dir.
> >
> > Any ideas (apart from building autotools in another location)?
>
> No, no other ideas. Make sure that your source dir is clean. When building
> out-of-source with CMake, you have to ensure that the source dir is clean.
> Otherwise this can lead to strange problems.

Well this is what I wonder, is a moc file considered source, or a generated 
file by the cmake system.. its kind of both, however, the moc files when 
building out of source should be looked for in the build directory, no?

Craig


More information about the CMake mailing list