Subversion Repositories Kolibri OS

Rev

Rev 5280 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5276 ZblCoder 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")
4
if tup.getconfig("LANG") == "ru"
5
then CFLAGS = CFLAGS .. " /DLANG=RUS"
6
else CFLAGS = CFLAGS .. " /DLANG=ENG"
7
end
8
tup.append_table(OBJS,
9
  tup.foreach_rule("memcmp.asm", "fasm %f %o", "%B.obj")
10
)
11
table.insert(OBJS, "smalllibc/init.obj") -- ??? it doesn't work after fasm recompilation
5284 ZblCoder 12
compile_msvc{"smalllibc/func.cpp", "smalllibc/kosFile.cpp", "smalllibc/kosSyst.cpp", "smalllibc/math2.cpp", "smalllibc/mcsmemm.cpp", "smalllibc/sprintf.cpp", "image.cpp", "render.cpp", "LaserTank.cpp" }
5276 ZblCoder 13
link_msvc("LaserTank")