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")
|
2024-06-02 05:51:22 +02:00
|
|
|
if tup.getconfig("LANG") == "ru_RU"
|
|
|
|
then CFLAGS += " /DLANG=RUS"
|
|
|
|
else 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")
|