-- 定义项目名称 set_project("helloworld") -- 定义目标 target("helloworld") set_kind("binary") -- 目标类型为可执行文件 add_files("src/*.cpp") -- 添加源文件