从 LeviLamina 移植过来的反射
具体使用方法请参考 Test.cpp
add_repositories("levimc-repo https://github.com/LiteLDev/xmake-repo.git")
add_repositories("zmblocks-repo https://github.com/ZMBlocks/xmake-repo.git")
add_requires(
"pfr 2.1.1",
"fmt 10.2.1",
"magic_enum v0.9.7",
"nlohmann_json v3.11.3",
"ll-reflection 1.0.0"
)
target("Test") -- 测试程序
add_packages(
"pfr",
"fmt",
"magic_enum",
"nlohmann_json",
"ll-reflection"
)