kolibrios-gitea/programs/other/graph_tablelib/Tupfile.lua
Ivan Baravy 42c754192f graph_tablelib: fix build
git-svn-id: svn://kolibrios.org@7620 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-03-27 21:17:52 +00:00

8 lines
314 B
Lua

if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_msvc.lua")
tup.append_table(OBJS,
tup.foreach_rule("*.asm", "fasm %f %o", "%B.obj")
)
compile_msvc{"*.cpp"}