[Development] Qt Playground - Command Line Parser experiment

Thiago Macieira thiago.macieira at intel.com
Thu Mar 15 20:08:42 CET 2012


On quinta-feira, 15 de março de 2012 15.00.19, Hugo Parente Lima wrote:
> > Also, how about support for multiple values for an option, separated by
> > ','? gcc -Wl,--defsym,__stack_limit=0x7ffe0000'
> > Probably an ultra-corner case?
> 
> I believe this is, as you said, a ultra corner case. but it's not too hard
> to  implement, I just don't know if is worth to implement this.

We'd probably implement this as either:

 -Wl=<value>
or
 -W<value>

And then parse the "l" as "linker flags" and then break the commas as different 
options.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120315/67902adf/attachment.sig>


More information about the Development mailing list