KDE/kdepim/kontact/plugins/kmail

Stephan Kulow coolo at kde.org
Tue Aug 29 19:37:25 CEST 2006


Am Dienstag, 29. August 2006 18:48 schrieb Alexander Neundorf:
> On Tuesday 29 August 2006 09:36, Stephan Kulow wrote:
> > Am Samstag, 26. August 2006 16:16 schrieb Stephan Kulow:
> > > SVN commit 577387 by coolo:
> > >
> > > I was unable to specify inter directory dependencies in a sane
> > > way ;(
> > > CCMAIL: kde-buildsystem at kde.org
> > >
> > >
> > >  M  +5 -0      CMakeLists.txt
> > >
> > >
> > > --- trunk/KDE/kdepim/kontact/plugins/kmail/CMakeLists.txt
> > > #577386:577387 @@ -26,6 +26,11 @@
> > >
> > >  install(TARGETS kontact_kmailplugin  DESTINATION
> > > ${PLUGIN_INSTALL_DIR})
> > >
> > > +set_source_files_properties( kmail_plugin.cpp OBJECT_DEPENDS
> > > ${CMAKE_BINARY_DIR}/kmail/globalsettings_base.h ) +
> > > +ADD_CUSTOM_COMMAND(OUTPUT
> > > ${CMAKE_BINARY_DIR}/kmail/globalsettings_base.h +	COMMAND make -C
> > > ${CMAKE_BINARY_DIR}/kmail globalsettings_base.o ) +
> > >  ########### next target ###############
> >
> > There has to be a way to fix this correctly! So where are you cmake
> > gurus?
>
> Try adding ${CMAKE_BINARY_DIR}/kmail/globalsettings_base.h to the list of
> source files for kontact_kmailplugin.
> If there are no bugs left in cmake 2.4.3, this will make it work with cmake
> 2.4.3.

coolo at portia#kmail>cmake  --version
cmake version 2.4-patch 3
coolo at portia#kmail>make
makeobj[0]: Entering directory 
`/suse/coolo/prod/KDE4/build/kdepim/kontact/plugins/kmail'
[  0%] Built target kcm_kmailsummary
[ 80%] Built target kdepim
[100%] Built target kpinterfaces
[100%] Building CXX object 
kontact/plugins/kmail/CMakeFiles/kontact_kmailplugin.dir/kmail_plugin.o
In file included 
from /suse/coolo/prod/KDE4/kdepim/kontact/plugins/kmail/kmail_plugin.cpp:45:
/suse/coolo/prod/KDE4/kdepim/kmail/kmail_part.h:54:2: warning: #warning Re-Add 
DBus interface!
In file included from /suse/coolo/prod/KDE4/kdepim/kmail/kmkernel.h:24,
               
from /suse/coolo/prod/KDE4/kdepim/kontact/plugins/kmail/kmail_plugin.cpp:46:
/suse/coolo/prod/KDE4/kdepim/kmail/globalsettings.h:27:33: error: 
globalsettings_base.h: No such file or directory

The same happens if you start from toplevel with -j5 - so your suggestion 
fixes _nothing_ ;(

Greetings, Stephan


More information about the Kde-buildsystem mailing list