Skip to content
  • Artur Grunau's avatar
    Clean up how CAMPVis' Lua modules are built · 2be90976
    Artur Grunau authored
    There were several problems with how CAMPVis' Lua modules were built:
    - modules were placed in the same directory as all other CAMPVis'
      libraries, which polluted Lua's module path and could lead to name
      clashes
    - SWIG interface files included instead of importing one another; this
      resulted in duplicated bindings being generated
    
    To fix these probles place all of CAMPVis' Lua modules in one
    sub-directory and let the code know what that sub-directory is so that
    it can instruct Lua to search it. Moreover, use %import instead of
    %include when one SWIG interface file needs to have access to
    definitions from another one.
    
    References #1
    2be90976