2014-09-12 17:15:23 +02:00
|
|
|
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")
|
2018-09-10 13:08:00 +02:00
|
|
|
if tup.getconfig("LANG") == "ru"
|
2018-09-10 15:57:54 +02:00
|
|
|
then CFLAGS = CFLAGS .. " /DLANG=RUS"
|
|
|
|
else CFLAGS = CFLAGS .. " /DLANG=ENG"
|
2018-09-10 13:08:00 +02:00
|
|
|
end
|
2018-09-10 16:08:15 +02:00
|
|
|
compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"}
|
2014-09-12 17:15:23 +02:00
|
|
|
link_msvc("kosilka")
|