kolibrios/programs/cmm/codeview/Tupfile.lua
Kirill Lipatov (Leency) bf033b8aaa add CodeView to ISO
git-svn-id: svn://kolibrios.org@7592 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-03-10 13:38:11 +00:00

7 lines
292 B
Lua

if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("codeview.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "codeview.com")