/programs/cmm/browser/Tupfile.lua |
---|
3,4 → 3,4 |
then C_LANG = "LANG_RUS" |
else C_LANG = "LANG_ENG" -- this includes default case without config |
end |
tup.rule("WebView.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "WebView.com") |
tup.rule("WebView.c", "c-- /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "WebView.com") |
/programs/cmm/browser/WebView.c |
---|
1,10 → 1,6 |
//Copyright 2007-2020 by Veliant & Leency |
//Asper, lev, Lrz, Barsuk, Nable, hidnplayr... |
#ifndef AUTOBUILD |
#include "lang.h--" |
#endif |
//===================================================// |
// // |
// LIB // |
/programs/cmm/browser/compile_en.bat |
---|
1,10 → 1,6 |
@del lang.h-- |
@echo #define LANG_ENG 1 >lang.h-- |
@c-- WebView.c |
@c-- /D=LANG_ENG WebView.c |
@del WebView |
@rename WebView.com WebView |
@del warning.txt |
@del lang.h-- |
if not exist WebView ( @pause ) |
/programs/cmm/browser/compile_ru.bat |
---|
1,10 → 1,6 |
@del lang.h-- |
@echo #define LANG_RUS 1 >lang.h-- |
@c-- WebView.c |
@c-- /D=LANG_RUS WebView.c |
@del WebView |
@rename WebView.com WebView |
@del warning.txt |
@del lang.h-- |
if not exist WebView ( @pause ) |