Skip to content

ZMBlocks/Cpp-Reflection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeviLamina-Reflection

LeviLamina 移植过来的反射
具体使用方法请参考 Test.cpp

使用方法(xmake.lua)

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"
    )