Subversion Repositories Kolibri OS

Rev

Rev 5098 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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