Skip to content

Commit

Permalink
fixes #20
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Jan 18, 2024
1 parent 1f7988c commit fe430d7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/ant.audio/make.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
local lm = require "luamake"

if lm.os == "windows" then
lm:copy "copy_fmod" {
input = {
lm.AntDir .. "/3rd/fmod/windows/core/lib/x64/fmod.dll",
lm.AntDir .. "/3rd/fmod/windows/studio/lib/x64/fmodstudio.dll",
},
output = {
"../../" .. lm.bindir .. "/fmod.dll",
"../../" .. lm.bindir .. "/fmodstudio.dll",
},
}
end

lm:lua_source "audio" {
includes = {
lm.AntDir .. "/3rd/bee.lua",
lm.AntDir .. "/clibs/luabind",
},
windows = {
deps = "copy_fmod",
sources = "src/luafmod.cpp",
includes = {
lm.AntDir .. "/3rd/fmod/windows/core/inc",
Expand Down

0 comments on commit fe430d7

Please sign in to comment.