graph_tablelib: fix build

git-svn-id: svn://kolibrios.org@7620 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2019-03-27 21:17:52 +00:00
parent 479085abe1
commit 42c754192f

View File

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