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