|
Boost-Build : |
Subject: Re: [Boost-build] <user-interface>
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2010-06-27 20:49:03
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28-06-2010 02:08, Brian Ravnsgaard Riis wrote:
> Hi,
>
> Hmm.. browsing through the BBv2 sources, I thought the idea of the
> <user-interface> feature might be to indicate console or gui type of
> application. I would expect this to add "-mwindows" on MinGW when
> "<user-interface>gui" was in requirements, but it doesn't. Is this a
> bug? If not, what is the purpose of that feature?
FWIW, the following patch (from BBv2 root) seems to take care of it.
Apparently <user-interface> is only used on msvc currently.
I am still curious about the correct usage of <user-interface>. What
about values native and auto? msvc specific?
/Brian
diff -r ce0620dc5163 tools/gcc.jam
- --- a/tools/gcc.jam Sat Oct 17 01:00:21 2009 +0000
+++ b/tools/gcc.jam Mon Jun 28 02:44:45 2010 +0200
@@ -611,6 +611,7 @@
toolset.flags gcc.link FINDLIBS-ST <find-static-library> ;
toolset.flags gcc.link FINDLIBS-SA <find-shared-library> ;
toolset.flags gcc.link LIBRARIES <library-file> ;
+toolset.flags gcc.link OPTIONS <target-os>windows/<user-interface>gui :
- -mwindows ;
toolset.flags gcc.link.dll .IMPLIB-COMMAND <target-os>windows :
"-Wl,--out-implib," ;
toolset.flags gcc.link.dll .IMPLIB-COMMAND <target-os>cygwin :
"-Wl,--out-implib," ;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMJ/F/AAoJEKd8gmwzkHPJdgsH/14Z9M6PnjOUBh6Up1GT3sg4
gbF29a/2CGhjKgXLCB+zLk/Op7R+xPfQgSFgRPem+TWTmq8GsXIwOlqjrqQSemQz
3zClPAZpjZ/aYd2R5L/YlkMmxqbxKJH22l2RU8Njcks1MGrQTkw5P4lG68t3fWCX
zod4D51VLS7rIa8r6on6Ot355r+WpfAhjfkjVijCQ0n6P6JfdrfjpgDIK2qA9HLk
dH8K9/48T+WxKz43VGqEFQ6u+ENZIdRb911els/tg+UdeJH4ae0TKvSA/gXyE4PR
JpvG0v2GAAX2DSIWx2mvrj+w4P5mRfLsTl81oFnP1ABVZNz6OB/6h+4uZzvWYXI=
=W42u
-----END PGP SIGNATURE-----
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk