[simulator] 消除vs下的警告

This commit is contained in:
Meco Man
2022-01-08 15:46:52 +08:00
committed by Bernard Xiong
parent 495e209f37
commit 8565fe2448
8 changed files with 63 additions and 141 deletions
+1 -4
View File
@@ -8,8 +8,6 @@ LIBS = []
LIBPATH = []
CPPPATH = [cwd]
CPPDEFINES = ['_CRT_DECLARE_NONSTDC_NAMES=0'] # avoid to conflict with the inherent STDC in VS
# remove no need file.
if GetDepend('PKG_USING_GUIENGINE') == False:
SrcRemove(src, 'sdl_fb.c')
@@ -32,8 +30,7 @@ if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_MODULE') == False:
if sys.platform[0:5]=="linux": #check whether under linux
SrcRemove(src, ['module_win32.c', 'dfs_win32.c'])
group = DefineGroup('Drivers', src, depend = [''],
CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH, CPPDEFINES = CPPDEFINES)
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH)
list = os.listdir(cwd)
for item in list: