how to build generated sources in parallel with out linking them together?

Stephan Kulow coolo at kde.org
Thu Feb 22 10:25:15 CET 2007


Am Mittwoch, 21. Februar 2007 23:31 schrieb Thiago Macieira:
> Alexander Neundorf wrote:
> >If I link some compiled headers without -no-undefined, it seems to work.
> >Am I missing something ?
>
> Basically we want to:
>
> ======
> #define QT_NO_CAST_FROM_ASCII
> #define QT_NO_CAST_TO_ASCII
> #define QT_NO_KEYWORDS
>
> #define signals choke
> #define slots choke
> #define foreach choke
> #define forever choke
>
> #include <headername>
> static void dummy() { }
> =====
>
> and make sure that that compiles with Dirk's usual very strict compiler
> switches (-pedantic -ansi -Wall -W -Werror, etc.)
>
> Since that's just an empty file and will produce hardly any symbols,
> there's no need to link.
It's even worse. Linking will break in some cases

Greetings, Stephan


More information about the Kde-buildsystem mailing list