v2.0.3
This patch brings some fixes when Refureku is used on dynamic libraries.
- The parser now correctly detects rfk::Object inheritance when using export macro on classes, hence correctly generating the getArchetype override.
- We now have the possibility to define an export macro in the CodeGenUnit settings so that the generated code is also exported in the dynamic library.
With the generator c++ API:
kodgen::MacroCodeGenUnitSettings codeGenUnitSettings;
codeGenUnitSettings.setExportSymbolMacroName("YOUR_EXPORT_MACRO");
With the toml settings file:
[CodeGenUnitSettings]
exportSymbolMacroName = "YOUR_EXPORT_MACRO"