gencpp/gen_unreal_engine
2024-12-16 21:48:01 -05:00
..
components Add GEN_PARSER_TYPENAME_ALLOWED_SUFFIX_SPECIFIER_CASES to gen_urneal_engine's case macros 2024-12-16 21:02:16 -05:00
enums Progress on docs, adjustments 2024-12-16 10:36:55 -05:00
Readme.md Progress on docs, adjustments 2024-12-16 10:36:55 -05:00
unreal.cpp Proofing 2024-12-16 21:48:01 -05:00
unreal.refactor correctionns to gen_unreal_engine 2024-12-10 13:57:12 -05:00

Navigation

base

Top

Unreal Engine Version Generator

This generates a variant of gencpp thats compatiable with use as a thirdparty module within a plugin or module of an Unreal Project or the Engine itself.

If using the library's provided build scripts:

.\build.ps1 <compiler> <debug or omit> unreal

Notables

For the most part this follows the same conventions as gen_segmented.

This generator uses a separate enumeration definitions for the following:

  • AttributeTokens.csv : Add your own _API attributes, etc here that are encountered within the Engine.
  • ESpecifier.csv : Adds the FORCEINLINE & FORCEINLINE_DEBUGGABLE specfiers (additions are made as they are encountered)
  • ETokType.csv : Same modifications as ESpecifier.csv.

A separate parser_case_macros.cpp is used to accomodate for the new forceinline specifiers.

The global macro the library uses is redefined as an empty substiution.

The expected usage of this library is to put into into a third-party plugin module to then use either in editor modules or in shell script done in some stage of hot-reloading or building the Unreal Engine or Project.