Skip to content

Commit

Permalink
flecs: fix copy pdb
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Sep 4, 2024
1 parent bf53868 commit b5584ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/f/flecs/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package("flecs")

add_urls("https://github.com/SanderMertens/flecs/archive/refs/tags/$(version).tar.gz",
"https://github.com/SanderMertens/flecs.git")

add_versions("v4.0.1", "d88928226b3a6e7ebc7c818db50b2fb5828021ed3bcd206c4e2a3b0406472d2b")
add_versions("v4.0.0", "6c9826c8602f797acd775269d143763adfb3d3a93031cc81bced2b6d267469d2")
add_versions("v3.2.12", "976551dabeecf3ae109648034b8dbc47f39f50226b6d71d76bace1d0b6e2d8ae")
Expand Down Expand Up @@ -44,6 +45,9 @@ package("flecs")
table.insert(configs, "-DFLECS_SHARED=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DFLECS_PIC=" .. (package:config("pic") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)

local pdb = path.join(package:buildir(), "flecs.pdb")
os.trycp(pdb, package:installdir(package:config("shared") and "bin" or "lib"))
end)

on_test(function (package)
Expand Down

0 comments on commit b5584ad

Please sign in to comment.