Skip to content

Commit

Permalink
恢复source_bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Apr 28, 2024
1 parent 72ac536 commit f0ab1dd
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions compile/bootstrap.lua
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
local lm = require "luamake"

lm:executable "bootstrap" {
bindir = "$bin",
deps = {
"source_bee",
"source_lua",
},
lm:src "source_bootstrap" {
includes = { "3rd/lua", "." },
sources = "bootstrap/main.cpp",
windows = {
deps = "bee_utf8_crt",
sources = "bootstrap/bootstrap.rc",
},
macos = {
defines = "LUA_USE_MACOSX",
Expand All @@ -36,6 +30,18 @@ lm:executable "bootstrap" {
defines = "LUA_USE_LINUX",
links = { "m", "dl" }
},
}

lm:executable "bootstrap" {
bindir = "$bin",
deps = {
"source_bee",
"source_lua",
"source_bootstrap",
},
windows = {
sources = "bootstrap/bootstrap.rc",
},
msvc = {
ldflags = "/IMPLIB:$obj/bootstrap.lib"
},
Expand Down

0 comments on commit f0ab1dd

Please sign in to comment.