cmake portgroup RelWithDebInfo variant?

Mihai Moldovan ionic at ionic.de
Mon Jul 28 09:52:21 PDT 2014


On 28.07.2014 06:14 pm, "René J.V. Bertin" wrote:
> - can one have local portgroup definitions/overrides?

I wouldn't know what speaks against that.


> - what would be a good variant name to enable the RelWithDebInfo (release with debug info) cmake type? I currently use
>
> {{{
> if { [variant_isset nostrip] } {
>      configure.args-delete -DCMAKE_BUILD_TYPE=Release
>      configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
> }
> }}}
>
> but that's not the most satisfying name I ever came up with ...

I think no* variant names should be avoided, replacing them with the appropriate
base name (in this case strip) and making them the default.


Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4265 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140728/09454dd7/attachment.p7s>


More information about the macports-users mailing list