improve build script and tools

This commit is contained in:
xianjimli 2020-04-09 18:06:34 +08:00
parent e14d069d40
commit 958dc7c4fe
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ elif OS_NAME == 'Windows':
OS_LIBS=['gdi32', 'user32','winmm.lib','imm32.lib','version.lib','shell32.lib','ole32.lib','Oleaut32.lib','Advapi32.lib','DelayImp.lib','psapi.lib']
OS_FLAGS='-DWIN32 -D_WIN32 -DWINDOWS /EHsc -D_CONSOLE /DEBUG /Od /FS /Z7 /utf-8'
if TARGET_ARCH == 'x86':
OS_FLAGS += OS_FLAGS + ' /MD '
OS_FLAGS += OS_FLAGS
OS_LINKFLAGS='/MACHINE:X86 /DEBUG'
OS_SUBSYSTEM_CONSOLE='/SUBSYSTEM:CONSOLE,5.01 '
OS_SUBSYSTEM_WINDOWS='/SUBSYSTEM:WINDOWS,5.01 '

View File

@ -109,7 +109,7 @@ uint32_t font_gen_buff(font_t* font, uint16_t font_size, const char* str, uint8_
}
} else if (c > 32 && c != 65279) {
printf("not found %d\n", c);
printf("gen fail, filename = %s! desc = not found char = %d!\n", "", c);
exit(0);
} else {
iter->offset = 0;