Skip to content

v2.0.3

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Mar 08:26
· 65 commits to master since this release

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"