Rev 5098 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5098 | Rev 5115 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | if tup.getconfig("NO_MSVC") ~= "" then return end |
1 | if 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" |
|
- | 5 | then CFLAGS = CFLAGS .. " /DLANG=RUS" |
|
- | 6 | else CFLAGS = CFLAGS .. " /DLANG=ENG" |
|
- | 7 | end |
|
4 | compile_msvc{"*.cpp"} |
8 | compile_msvc{"*.cpp"} |
5 | link_msvc("xonix") |
9 | link_msvc("xonix") |