XMake: Use new syntax

This commit is contained in:
Lynix
2022-11-13 13:05:45 +01:00
parent 4eadb35b0d
commit 71c5133c7a
3 changed files with 24 additions and 18 deletions

View File

@@ -23,10 +23,11 @@ if has_config("tests") then
add_rules("c++.unity_build")
end
target("NazaraUnitTests")
target("NazaraUnitTests", function ()
add_files("main.cpp", {unity_ignored = true})
if has_config("usepch") then
set_pcxxheader("Engine/Modules.hpp")
end
end)
end