1 2 3 4 5 6 7
add_rules("mode.debug", "mode.release") for i = 1, 1000 do target("test" .. i) set_kind("binary") add_files("src/main.cpp") end