if tup.getconfig("NO_MSVC") ~= "" then return end HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") tup.include(HELPERDIR .. "/use_msvc.lua") if tup.getconfig("LANG") == "ru_RU" then CFLAGS = CFLAGS .. " /DLANG=RUS" else CFLAGS = CFLAGS .. " /DLANG=ENG" end compile_msvc{"*.cpp"} link_msvc("xonix")