Other pb with cmake
Brad King
brad.king at kitware.com
Thu Mar 16 22:02:27 CET 2006
David Faure wrote:
> On Thursday 16 March 2006 19:08, Alexander Neundorf wrote:
>
>>-create the moc files in the subdirs where the object file will be located
>> This directory is currently not part of the include path, so it probably
>>wouldn't be found
>
>
> Right, that's what I did and then reverted because of the include path problem.
> However it still sounds like the right solution to me. Ideally we could automate
> this include path stuff. (Adding srcdir/subdir and builddir/subdir when compiling
> a file from subdir... or when compiling all the files from srcdir...)
Once we do the next KDE CMake release the auto-include-dir will work.
> But wait, won't the .o end up in the same directory, too, currently?
No, the object file name is constructed relative to the current source
or build directory so it will not conflict.
-Brad
More information about the Kde-buildsystem
mailing list