1
0
kolibrios/programs/games/kosilka/Tupfile.lua
Kirill Lipatov (Leency) f8865e6262 trying to fix LANG 6
git-svn-id: svn://kolibrios.org@7343 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-09-10 14:28:25 +00:00

10 lines
422 B
Lua

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")
if tup.getconfig("LANG") == "ru"
then CFLAGS = CFLAGS .. " /DLANG=RUS"
else CFLAGS = CFLAGS .. " /DLANG=ENG"
end
compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"}
link_msvc("kosilka")