Skip to content

Commit

Permalink
更新编译
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Jul 23, 2021
1 parent bedbd29 commit 000bb76
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions make.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ lm:executable 'w2l' {
crt = 'static'
}

lm:shared_library 'yue-ext' {
lm:lua_dll 'yue-ext' {
deps = 'lua54',
sources = {
'yue-ext/main.cpp',
Expand All @@ -41,34 +41,32 @@ lm:shared_library 'yue-ext' {

lm.rootdir = '3rd/'

lm:shared_library 'lml' {
lm:lua_dll 'lml' {
deps = 'lua54',
sources = {
'lml/src/LmlParse.cpp',
'lml/src/main.cpp',
}
}

lm:shared_library 'w3xparser' {
lm:lua_dll 'w3xparser' {
deps = 'lua54',
sources = {
'w3xparser/src/real.cpp',
'w3xparser/src/main.cpp',
}
}

lm:shared_library 'lpeglabel' {
lm:lua_dll 'lpeglabel' {
deps = 'lua54',
sources = 'lpeglabel/*.c',
undefs = "NDEBUG",
ldflags = '/EXPORT:luaopen_lpeglabel'
visibility = 'default',
}

lm:shared_library 'stormlib' {
sources = {
'stormlib/src/*.cpp',
'stormlib/src/*.c',
'!stormlib/src/adpcm/adpcm_old.cpp',
'!stormlib/src/zlib/compress.c',
'!stormlib/src/pklib/crc32.c',
'!stormlib/src/wdk/*',
Expand All @@ -95,7 +93,7 @@ lm:shared_library 'casclib' {
ldflags = '/DEF:3rd/casclib/src/CascLib.def'
}

lm:shared_library 'lni' {
lm:lua_dll 'lni' {
deps = 'lua54',
sources = {
'lni/src/main.cpp',
Expand All @@ -115,7 +113,7 @@ lm:phony {
output = "3rd/ffi/src/call.c",
}

lm:shared_library 'ffi' {
lm:lua_dll 'ffi' {
deps = {
'lua54',
'ffi_dynasm'
Expand Down

0 comments on commit 000bb76

Please sign in to comment.