NekiraReflectionLib is a C++ Reflection Utilities Library, including static reflection, dynamic reflection, type traits, and a reflection generation tool.
- 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
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 Ninjacmake --build buildTo 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]To link the NekiraReflectionLib library in your project, configure CMake as follows:
find_package(NekiraReflectionLib REQUIRED)