agnos icon indicating copy to clipboard operation
agnos copied to clipboard

control code generation options

Open tomerfiliba opened this issue 14 years ago • 1 comments

add cmdline switches to agnosc, to control code generation options. for example, turn off casting, turn off reflection, turn on async, etc.

Disabling features:

  • -O no-stub -- do not generate server stub
  • -O no-casting -- do not generate castToXXX methods
  • -O no-reflection -- do not generate INFO_REFLECTION (save space)
  • -O no-client -- do not generate client bindings
  • -O no-server -- do not generate server bindings

Enabling features:

  • -O doc -- include "javadoc" in generate code
  • -O async -- generate async versions too
  • -O build=/path/to/agnos.jar -- build generated code. if target is java, specify agnos.jar to build with. if target is csharp, specify Agnos.dll to build with.

tomerfiliba avatar Dec 09 '10 16:12 tomerfiliba

disabling features implemented for java

tomerfiliba avatar Feb 28 '11 18:02 tomerfiliba