2019-03-27 22:17:52 +01:00
|
|
|
if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end
|
2019-03-27 14:23:24 +01:00
|
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
|
|
|
|
tup.include(HELPERDIR .. "/use_msvc.lua")
|
2019-03-27 22:17:52 +01:00
|
|
|
tup.append_table(OBJS,
|
|
|
|
tup.foreach_rule("*.asm", "fasm %f %o", "%B.obj")
|
|
|
|
)
|
2019-03-27 14:23:24 +01:00
|
|
|
compile_msvc{"*.cpp"}
|