Dear Raphael,
I don't quite understand your proposal. Can Application parse an
option specified as follows?
--compiler-environment=MODULES
According to the doc (http://www.mozart-oz.org/documentation/system/
node3.html#section.application.cmdparsing), long options are given
as --option=value? Not to mention the added difficulty of parsing a
value lists embedded in the option value (like MODULES).
Best
Torsten
On Sep 12, 2007, at 7:41 AM, Raphael Collet wrote:
Dear Torsten,
For the sake of syntax, I would suggest to use "--compiler-" as a
prefix
to compiler options, so you could write things like
--compiler-warnshadow
--compiler-environment=MODULES
A generic way to specify compiler options sounds like a must-have
to me.
Cheers,
raph
Torsten Anders wrote:
Dear Wolfgang,
thank you very much for this.
There are other compiler options not supported by ozmake either
(e.g.,
all the warning options like --warnshadow). Could we perhaps add
support
for arbitrary compiler options in a generic way? For example, we
could
have an option --compileroptionsfile=PATH, where the text file at
PATH
contains arbitrary compiler options which are all hand to the
compiler
by ozmake. Of course, the users are responsible for what they are
doing.
I thought a while about an option --compileroption=OPTION, where
OPTION
is any compiler option and the option --compileroption could occur
multiple times. However, I couldn't come up with a suitable format
this
late.. Easy cases would be boolean options like
--compileroption=warnshadow
However, I don't know how to handle compiler options which expect
a list
of values...
--compileroption=environment=MODULES
BTW: any chance such changes to ozmake will make it into the main
repository?
Best
Torsten
______________________________________________________________________
___________
mozart-users mailing list mozart-
[EMAIL PROTECTED]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
http://strasheela.sourceforge.net
http://www.torsten-anders.de
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users