mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
Merge branch 'master' of https://github.com/zlgopen/awtk
This commit is contained in:
commit
da2d7cb044
@ -69,6 +69,10 @@ COMMON_CCFLAGS=COMMON_CCFLAGS+' -DSTBTT_STATIC -DSTB_IMAGE_STATIC -DWITH_STB_IMA
|
||||
COMMON_CCFLAGS=COMMON_CCFLAGS+' -DWITH_VGCANVAS -DWITH_UNICODE_BREAK -DWITH_DESKTOP_STYLE '
|
||||
COMMON_CCFLAGS=COMMON_CCFLAGS+' -DSDL2 -DHAS_STD_MALLOC -DWITH_SDL -DWITH_FS_RES -DHAS_STDIO '
|
||||
|
||||
#only for c compiler flags
|
||||
COMMON_CFLAGS=''
|
||||
COMMON_CFLAGS=COMMON_CFLAGS+' -std=gnu99 '
|
||||
|
||||
if LCD == 'SDL_GPU':
|
||||
COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_NANOVG_GPU -DWITH_VGCANVAS_LCD'
|
||||
else:
|
||||
@ -157,6 +161,7 @@ elif OS_NAME == 'Windows':
|
||||
OS_SUBSYSTEM_WINDOWS='/SUBSYSTEM:WINDOWS '
|
||||
COMMON_CCFLAGS = COMMON_CCFLAGS + ' -D_WIN64 '
|
||||
|
||||
CFLAGS=COMMON_CFLAGS
|
||||
LINKFLAGS=OS_LINKFLAGS;
|
||||
LIBPATH=[TK_LIB_DIR] + OS_LIBPATH
|
||||
CCFLAGS=OS_FLAGS + COMMON_CCFLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user