2014-09-12 17:15:23 +02:00
|
|
|
if tup.getconfig("NO_MSVC") ~= "" then return end
|
|
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
|
|
|
|
tup.include(HELPERDIR .. "/use_msvc.lua")
|
2014-09-12 21:13:20 +02:00
|
|
|
if tup.getconfig("LANG") == "ru"
|
|
|
|
then CFLAGS = CFLAGS .. " /DLANG=RUS"
|
|
|
|
else CFLAGS = CFLAGS .. " /DLANG=ENG"
|
|
|
|
end
|
2014-09-12 17:15:23 +02:00
|
|
|
compile_msvc{"*.cpp"}
|
|
|
|
link_msvc("xonix")
|