Rev 7332 | Rev 7337 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7332 | Rev 7335 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end |
1 | if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR") |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR") |
3 | tup.include(HELPERDIR .. "/use_msvc.lua") |
3 | tup.include(HELPERDIR .. "/use_msvc.lua") |
4 | if tup.getconfig("LANG") == "ru" |
4 | if tup.getconfig("LANG") == "ru" |
5 | then CFLAGS = CFLAGS .. " /DLANG=RUS" |
5 | then CFLAGS = CFLAGS .. " -DLANG=RUS" |
6 | else CFLAGS = CFLAGS .. " /DLANG=ENG" |
6 | else CFLAGS = CFLAGS .. " -DLANG=ENG" |
7 | end |
7 | end |
8 | compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"} |
8 | compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"} |
9 | link_msvc("kosilka") |
9 | link_msvc("kosilka") |