Segs / SegsEngine

The engine that will become the basis for client/editor/server components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split bindings generator into a separate executable

nemerle opened this issue · comments

The current procedure of enabling c# is a bit cumbersome:

  • Enable mono module, but keep MONO_GLUE_ENABLED define as disabled
  • build editor
  • run editor with --generate-mono-glue PATH_TO_GLUE_DIRECTORY
  • set MONO_GLUE_ENABLED to defined/true and rebuild the editor.

The saner approach would:

  • build the mono-glue generator executable alongside the editor dll
  • Mono module would be a DLL, so that editor does not depend on it.
  • The build system would know that Mono module depends on the generated glue files.