playground/devtools/kdevelop4-extra-plugins/python/parser
Andreas Pakulat
apaku at gmx.de
Tue Jul 10 12:50:12 CEST 2007
On 10.07.07 11:20:46, Andreas Pakulat wrote:
> On 09.07.07 23:22:23, Alexander Neundorf wrote:
> > On Monday 09 July 2007 14:22, Andreas Pakulat wrote:
> > > python/parser/CMakeLists.txt with
> > >
> > > add_executable(python-parser ${foo_SRCS} )
> > >
> > >
> > > Then cmake will complain that it doesn't know how to create the files in
> > > foo_SRCS for the python-parser target.
> > >
> > > And always setting the foo_SRCS GENERATED in the subdirs is not really
> > > usable either as they are only generated when you've got the generator
> > > tool installed (which is not required). So I'd again need to have
> > > if(FOO_FOUND) stuff everywhere.
> >
> > Can you put the rules for generating the files in the directories where the
> > file are used, e.g. with some macros ?
>
> Hmm, can you have a look at the attached file please? Calling the macro
> doesn't execute the custom command and thus the files are not generated.
Nevermind, figured it myself :)
--
Never commit yourself! Let someone else commit you.
More information about the Kde-buildsystem
mailing list