mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 18:57:16 +08:00
[simulator] 消除vs下的警告
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user