Rev 5098 | Rev 7335 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5098 | Rev 7332 | ||
---|---|---|---|
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" |
|
- | 5 | then CFLAGS = CFLAGS .. " /DLANG=RUS" |
|
- | 6 | else CFLAGS = CFLAGS .. " /DLANG=ENG" |
|
- | 7 | end |
|
4 | compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"} |
8 | compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"} |
5 | link_msvc("kosilka") |
9 | link_msvc("kosilka") |