- Added thashview to autobuild

git-svn-id: svn://kolibrios.org@8460 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
superturbocat2001 2020-12-20 16:36:35 +00:00
parent 9d1354453c
commit 57c57ff9ff
3 changed files with 17 additions and 1 deletions

View File

@ -286,7 +286,6 @@ extra_files = {
{"kolibrios/utils/cnc_editor/kolibri.NC", PROGS .. "/other/cnc_editor/kolibri.NC"}, {"kolibrios/utils/cnc_editor/kolibri.NC", PROGS .. "/other/cnc_editor/kolibri.NC"},
{"kolibrios/utils/vmode", "common/vmode"}, {"kolibrios/utils/vmode", "common/vmode"},
{"kolibrios/utils/texture", "common/utils/texture"}, {"kolibrios/utils/texture", "common/utils/texture"},
{"kolibrios/utils/thashview", "common/utils/thashview"},
} }
if build_type == "rus" then tup.append_table(extra_files, { if build_type == "rus" then tup.append_table(extra_files, {
{"Docs/cp866/config.txt", build_type .. "/docs/CONFIG.TXT"}, {"Docs/cp866/config.txt", build_type .. "/docs/CONFIG.TXT"},
@ -683,6 +682,13 @@ tup.append_table(extra_files, {
}) })
end -- tup.getconfig('NO_MSVC') ~= 'full' end -- tup.getconfig('NO_MSVC') ~= 'full'
-- Programs that require TCC to compile.
if tup.getconfig('NO_TCC') ~= 'full' then
tup.append_table(extra_files, {
{"kolibrios/utils/thashview", PROGS .. "/other/TinyHashView/thashview"},
})
end -- tup.getconfig('NO_TCC') ~= 'full'
-- Programs that require GCC to compile. -- Programs that require GCC to compile.
if tup.getconfig('NO_GCC') ~= 'full' then if tup.getconfig('NO_GCC') ~= 'full' then
tup.append_table(img_files, { tup.append_table(img_files, {

Binary file not shown.

View File

@ -0,0 +1,10 @@
if tup.getconfig("NO_TCC") ~= "" then return end
TCC="kos32-tcc "
CFLAGS = "-I../../develop/ktcc/trunk/libc/include"
LDFLAGS = "-nostdlib ../../develop/ktcc/trunk/bin/lib/start.o -L../../develop/ktcc/trunk/bin/lib"
LIBS = "-lck -lcryptal -ldialog"
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
tup.rule("thashview.c", COMMAND .. tup.getconfig("KPACK_CMD"), "thashview")