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:07:29 +02:00
|
|
|
compile_msvc{"*.cpp"}
|
2014-09-12 17:15:23 +02:00
|
|
|
link_msvc("kosilka")
|