|
From: Andreas L. <no...@sb...> - 2001-10-22 10:53:20
|
On Mon, 2001-10-22 at 12:31, Sven Ehrke wrote: > er...@go... schrieb am 22.10.01: > > Andreas Leitner wrote: > > > > > > I am cool with --define, I was just afraid that compile_* would be the > > > _only_ way for passing options to geant. > > > > I'm not sure whether Sven already implemented the > > command-line option --define, but I'm pretty sure > > that it's on his TODO list somewhere because if > > I remember correctly there is already support for > > command-line defined variables in geant source code. > > geant supports this on the commandline using the -D option: > > geant -Dparam1=value1 -Dparam2=value2 ... > > (Yes, I know I have to work on the documentation) > > I could change this of course if most of you would prefer the --define syntax. > Just let me know. I'd vote for --define="param1=val1 param2=val2", because this syntax obeys the GNU command line conventions. And thus integrates well with the majority of the other tools available as free software. Andreas |