Subversion Repositories Kolibri OS

Rev

Rev 5098 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5098 clevermous 1
if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
3
tup.include(HELPERDIR .. "/use_msvc.lua")
5112 clevermous 4
if tup.getconfig("LANG") == "ru"
5
then CFLAGS = CFLAGS .. " /DLANG=RUS"
6
else CFLAGS = CFLAGS .. " /DLANG=ENG"
7
end
5098 clevermous 8
tup.append_table(OBJS,
9
  tup.foreach_rule("memcmp.asm", "fasm %f %o", "%B.obj")
10
)
11
table.insert(OBJS, "lzma_unpack.obj") -- ??? it doesn't work after fasm recompilation
12
compile_msvc{"*.cpp"}
13
link_msvc("fara")