-
Notifications
You must be signed in to change notification settings - Fork 4
/
dub.sdl
23 lines (23 loc) · 950 Bytes
/
dub.sdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name "lumars"
description "A high level, lightweight LUA library."
authors "Bradley Chatha"
copyright "Copyright © 2023, Bradley Chatha"
license "MIT"
dependency "bindbc-lua" version="~>0.5.0"
dependency "taggedalgebraic" version="~>0.11.22"
configuration "lua51" {
targetType "library"
dflags "-L$PACKAGE_DIR/deps/linux64/lua51.a" platform="linux-x86_64"
dflags "-L$PACKAGE_DIR/deps/win64/lua51.lib" platform="windows-x86_64"
dflags "-L$PACKAGE_DIR/deps/macamd/lua51.a" platform="osx-aarch64"
dflags "-L$PACKAGE_DIR/deps/macx64/lua51.a" platform="osx-x86_64"
versions "BindLua_Static" "LUA_51"
subConfiguration "bindbc-lua" "static"
}
configuration "lua51-dynamic" {
targetType "library"
copyFiles "$PACKAGE_DIR/deps/win64/lua51.dll" platform="windows-x86_64"
copyFiles "$PACKAGE_DIR/deps/macamd/liblua.5.1.dylib" platform="osx-aarch64"
copyFiles "$PACKAGE_DIR/deps/macx64/liblua.5.1.dylib" platform="osx-x86_64"
versions "LUA_51"
}