Merging of kdelibs_export.h and kdelibs_export_win.h

Thiago Macieira thiago at kde.org
Sat Jan 20 12:21:35 CET 2007


David Faure wrote:
>Speaking of unneeded recompilations, can I suggest that we also split up
> the export.h file into one-file-per-lib, like I did in koffice last
> week? It also makes things more modular and easier to move when needed.

That makes a LOT of extra files to install in kdelibs. I am not sure we 
gain a big advantage by doing that.

If someone wants to do it, feel free to do so.

>> I'm also reintroducing the #include <QtCore/qglobal.h> for C
>> compilations as well. It's supposed to work and any bugs should be
>> reported with urgency to Trolltech.
>
>Oh, good to know. Can you adjust
> kdesdk/scripts/kde_generate_export_header accordingly?

I didn't know we had such a script. Patch is attached.

I don't think kdemacros.h has to be generated anymore. A static file will 
do just fine. We can use Q_DECL_IMPORT and Q_DECL_EXPORT -- all I have to 
do is convince the Trolls to move their definition to outside the ifdef 
__cplusplus part.

-- 
  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: kde_generate_export_header-cmake-vars.diff
Type: text/x-diff
Size: 1054 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070120/0de77d22/attachment.bin 
-------------- 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/20070120/0de77d22/attachment.pgp 


More information about the Kde-buildsystem mailing list