fix : xmake build _lib empty

This commit is contained in:
Chanchan
2023-01-04 21:48:30 +08:00
parent 190c007417
commit 0645d6ced0
2 changed files with 34 additions and 34 deletions

View File

@@ -30,5 +30,11 @@ set_config("buildir", "build.xmake")
add_cflags("-fPIC", "-pipe")
add_cxxflags("-fPIC", "-pipe", "-Wno-invalid-offsetof")
after_clean(function (target)
os.rm(get_config("workflow_inc"))
os.rm(get_config("workflow_lib"))
os.rm("$(buildir)")
end)
includes("src", "test", "benchmark", "tutorial")