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

Thiago Macieira thiago at kde.org
Wed Feb 21 23:31:43 CET 2007


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.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070221/89368b62/attachment.pgp 


More information about the Kde-buildsystem mailing list