Are you an LLM? You can read better optimized documentation at /examples/cpp/cppfront.md for this page in Markdown format
EXPLORER
src
main.cpp2
xmake.lua
Lua xmake.lua
123456789
add_rules("mode.debug", "mode.release")
add_requires("cppfront")
target("test")
add_rules("cppfront")
set_kind("binary")
add_files("src/*.cpp2")
add_packages("cppfront")