qmake generator for cmake?

Benjamin Reed rangerrick at befunk.com
Sat Jan 28 19:11:01 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Neundorf wrote:
> On Saturday 28 January 2006 18:30, Benjamin Reed wrote:
>> Has anyone tried making a qmake generator for cmake?  One thing that
>> gives us is automatic handling of differences in libraries and
>> binaries on Mac OS X, eg, we can have it generate frameworks and
>> app-bundles (and I assume there are similar bits for Windows as well).
> 
> If cmake isn't able to do this, it's a missing feature of cmake, I'd say. This 
> topic came up already several times on the cmake list, but I didn't follow 
> closely. Maybe you find something in the mailing list archive and 
> there is already a solution. If not maybe this could be done via cmake 
> scripts ? AFAIK frameworks are "just" a special directory structure. Maybe 
> this can be done via add_custom_command(TARGET ... POST_BUILD ) or 
> set_target_properties( POST_INSTALL_SCRIPT ...)

Yeah, turning libs into frameworks should actually be pretty easy.
Making app-bundles will probably be trickier, since it's like a
framework, but has metadata associated with it.

Maybe I'll just see if I can get the OSX stuff to do more
framework/app-bundle generation and see what happens.

One problem is that it will have to be configurable; since OSX lives a
double life it needs to be capable of making frameworks *or* standard
libraries, depending on the requirements of the person using cmake.


- --
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD27O1Uu+jZtP2Zf4RAvzfAJ9dotLAfjjDPEqJEX5ueHHA7AymgACePd4/
uoeCr3n4MfhvhfcEe+cMemk=
=fqZM
-----END PGP SIGNATURE-----


More information about the Kde-buildsystem mailing list