mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 07:23:35 +00:00
adding CI
This commit is contained in:
@@ -54,6 +54,8 @@ set_dependir("build/.deps")
|
||||
|
||||
set_optimize("fastest")
|
||||
|
||||
option("unitybuild", { description = "Build the library using unity build", default = false })
|
||||
|
||||
for name, module in pairs(backends) do
|
||||
if has_config(module.option) then
|
||||
if module.packages then
|
||||
@@ -70,6 +72,10 @@ target("pulse_gpu")
|
||||
|
||||
add_files("Sources/*.c")
|
||||
|
||||
if has_config("unitybuild") then
|
||||
add_rules("c.unity_build", { batchsize = 6 })
|
||||
end
|
||||
|
||||
for name, module in pairs(backends) do
|
||||
if has_config(module.option) then
|
||||
if module.packages then
|
||||
|
||||
Reference in New Issue
Block a user