mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 07:23:35 +00:00
fixing xmake rule
This commit is contained in:
@@ -47,7 +47,7 @@ on_run(function()
|
||||
local files = table.join(
|
||||
os.files("Sources/**.h"),
|
||||
os.files("Sources/**.inl"),
|
||||
os.files("Sources/**.c")
|
||||
os.files("Sources/**.c"),
|
||||
os.files("Sources/**.cpp")
|
||||
)
|
||||
|
||||
|
||||
@@ -54,6 +54,8 @@ set_dependir("build/.deps")
|
||||
|
||||
set_optimize("fastest")
|
||||
|
||||
includes("Xmake/**.lua")
|
||||
|
||||
option("unitybuild", { description = "Build the library using unity build", default = false })
|
||||
|
||||
for name, module in pairs(backends) do
|
||||
@@ -102,6 +104,5 @@ target("pulse_gpu")
|
||||
end)
|
||||
target_end()
|
||||
|
||||
includes("Xmake/**.lua")
|
||||
includes("Examples/*.lua")
|
||||
includes("Tests/Vulkan/*.lua")
|
||||
|
||||
Reference in New Issue
Block a user