Skip to content

Latest commit

 

History

History
95 lines (65 loc) · 3.39 KB

File metadata and controls

95 lines (65 loc) · 3.39 KB

NekiraReflectionLib

GitHub License GitHub top language C++ CMake GitHub commit activity (branch)

README CN README EN

Important

ThirdParty

Introduction

NekiraReflectionLib is a C++ Reflection Utilities Library, including static reflection, dynamic reflection, type traits, and a reflection generation tool.

Tasks

  • Basic function extraction
  • Basic variable extraction
  • Reflection information collection
  • Basic static reflection (using macro declarations)
  • Basic dynamic reflection
  • Automated scanning and generation of reflection information
  • Organize into a library
  • Reflection Flag support for dynamic reflection
  • Serialization and deserialization
  • Multithreading optimization

Installation

Clone and download the source code of NekiraReflectionLib, enter the root directory, and run the following CMake commands in order:

cmake -S . -B build -G Ninja
cmake --build build

To install NekiraReflectionLib on your PC, you can keep the default installation path or specify it manually. After installation, add the bin folder path from the NekiraReflect installation directory to your environment variables so the system can find NekiraReflectTool.exe.

cmake --install build [--prefix] [install_dir]

Linking the Library

To link the NekiraReflectionLib library in your project, configure CMake as follows:

find_package(NekiraReflectionLib REQUIRED)

Documentation

NekiraReflectStatic

NekiraReflectStatic

NekiraReflectDynamic

NekiraReflectDynamic

NekiraReflecTool

NekiraReflecTool


📜 License

License