From b079bd135c338fc0d65d6bea1d56c7c0ca521c85 Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Mon, 6 Dec 2021 12:53:19 -0500 Subject: [PATCH] =?UTF-8?q?Update=20SConscript=20=E6=9A=82=E6=97=B6?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SConscript | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/SConscript b/SConscript index c188e0f5e..33c7e2b39 100644 --- a/SConscript +++ b/SConscript @@ -25,22 +25,22 @@ def pikascript_init(): os.popen('del ' + all_path + ' /F /Q /S') os.popen('rd ' + all_path + ' /Q /S') - myremove('bsp') - myremove('document') - myremove('examples') - myremove('package') - myremove('port') - myremove('src') - myremove('tools') - myremove('.github') - myremove('.git') - myremove('.vscode') - myremove('.gitattributes') - myremove('.gitignore') - myremove('logo.txt') - myremove('packages.toml') - myremove('README.md') - myremove('README_zh.md') + # myremove('bsp') + # myremove('document') + # myremove('examples') + # myremove('package') + # myremove('port') + # myremove('src') + # myremove('tools') + # myremove('.github') + # myremove('.git') + # myremove('.vscode') + # myremove('.gitattributes') + # myremove('.gitignore') + # myremove('logo.txt') + # myremove('packages.toml') + # myremove('README.md') + # myremove('README_zh.md') os.system(cwd + '/' + 'pikaPackage.exe') os.system(cwd + '/' + 'rust-msc-latest-win10.exe') @@ -53,7 +53,6 @@ cwd = GetCurrentDir() group = [] src = [] inc = [] -LOCAL_CCFLAGS = '' # add file and path for root, dirs, files in os.walk(cwd): @@ -61,7 +60,7 @@ for root, dirs, files in os.walk(cwd): src = src + Glob(os.path.join(root,dir,'*.c')) inc = inc + [os.path.join(root,dir)] -group = DefineGroup('pikascript', src, depend = ['PKG_USING_PIKASCRIPT'], CPPPATH = inc, LOCAL_CCFLAGS = LOCAL_CCFLAGS) +group = DefineGroup('pikascript', src, depend = ['PKG_USING_PIKASCRIPT'], CPPPATH = inc) Return('group')