Friday, February 22, 2013

Wrapper update

Over the past week I worked on updating the wrapper generator that used to generate the OCWrappers.dll. In the current workflow the OpenCascade 6.3.0 files are parsed, generating full .h and .cpp files which are then compiled in the dll. This dll is used as a base for the NaroOccCore solution which generates an .api file used to load the needed classes and methods from the dll, extracts them and generates new .cpp and .cs files.

I'm working on improving the OCWrappers code so that the Open Cascade files are parsed and the .api file is generated directly from them, without having to compile the .dll and then use reflection to extract the information we need.

No comments: