Rev 5098 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5098 | Rev 7137 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | if type(output) ~= "string" then error("output for link_msvc should be simple string") end |
22 | if type(output) ~= "string" then error("output for link_msvc should be simple string") end |
23 | local exename = output .. ".exe" |
23 | local exename = output .. ".exe" |
24 | local mapname = output .. ".map" |
24 | local mapname = output .. ".map" |
Line 25... | Line 25... | ||
25 | 25 | ||
26 | tup.rule(input, "link.exe " .. LDFLAGS .. " /out:%o /Map:" .. mapname .. " %f", {exename, extra_outputs = {mapname}}) |
26 | tup.rule(input, "link.exe " .. LDFLAGS .. " /out:%o /Map:" .. mapname .. " %f", {exename, extra_outputs = {mapname}}) |
27 | tup.rule(exename, env_prefix .. "fasm " .. THISDIR .. "/../data/eng/doexe2.asm %o " .. tup.getconfig("KPACK_CMD"), output) |
27 | tup.rule(exename, env_prefix .. "fasm " .. THISDIR .. "/../data/common/doexe2.asm %o " .. tup.getconfig("KPACK_CMD"), output) |