Skip to content

Commit

Permalink
rttr: revert test languages
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Sep 27, 2024
1 parent 6186925 commit 035b917
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/r/rttr/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ package("rttr")
os.mkdir(path.join(package:buildir(), "src/rttr/pdb"))
end
import("package.tools.cmake").install(package, configs)
if package:is_plat("windows") and shared then
package:add("defines", "RTTR_DLL")
local dir = package:installdir(package:config("shared") and "bin" or "lib")
if package:is_plat("windows")then
if shared then
package:add("defines", "RTTR_DLL")
end
local dir = package:installdir(shared and "bin" or "lib")
os.vcp(path.join(package:buildir(), "bin/*.pdb"), dir)
end
end)
Expand Down Expand Up @@ -93,5 +95,5 @@ package("rttr")
assert(ctor.is_valid());
}
}
]]}, { configs = {languages = "c++20"} }))
]]}, { configs = {languages = "c++14"} }))
end)

0 comments on commit 035b917

Please sign in to comment.