From 95173cabb40319727b1f39a0fdf4204687a9aff8 Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Sun, 26 Jan 2025 12:55:13 +0100 Subject: [PATCH] fixing xmake rule --- Xmake/Actions/CheckFiles.lua | 2 +- xmake.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Xmake/Actions/CheckFiles.lua b/Xmake/Actions/CheckFiles.lua index 8b773eb..f0148c0 100644 --- a/Xmake/Actions/CheckFiles.lua +++ b/Xmake/Actions/CheckFiles.lua @@ -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") ) diff --git a/xmake.lua b/xmake.lua index 37ae3cb..892d938 100644 --- a/xmake.lua +++ b/xmake.lua @@ -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")