Skip to content

Commit b079bd1

Browse files
committed
Update SConscript 暂时注释掉删除无用文件的代码
1 parent 9559c9a commit b079bd1

1 file changed

Lines changed: 17 additions & 18 deletions

File tree

SConscript

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@ def pikascript_init():
2525
os.popen('del ' + all_path + ' /F /Q /S')
2626
os.popen('rd ' + all_path + ' /Q /S')
2727

28-
myremove('bsp')
29-
myremove('document')
30-
myremove('examples')
31-
myremove('package')
32-
myremove('port')
33-
myremove('src')
34-
myremove('tools')
35-
myremove('.github')
36-
myremove('.git')
37-
myremove('.vscode')
38-
myremove('.gitattributes')
39-
myremove('.gitignore')
40-
myremove('logo.txt')
41-
myremove('packages.toml')
42-
myremove('README.md')
43-
myremove('README_zh.md')
28+
# myremove('bsp')
29+
# myremove('document')
30+
# myremove('examples')
31+
# myremove('package')
32+
# myremove('port')
33+
# myremove('src')
34+
# myremove('tools')
35+
# myremove('.github')
36+
# myremove('.git')
37+
# myremove('.vscode')
38+
# myremove('.gitattributes')
39+
# myremove('.gitignore')
40+
# myremove('logo.txt')
41+
# myremove('packages.toml')
42+
# myremove('README.md')
43+
# myremove('README_zh.md')
4444

4545
os.system(cwd + '/' + 'pikaPackage.exe')
4646
os.system(cwd + '/' + 'rust-msc-latest-win10.exe')
@@ -53,15 +53,14 @@ cwd = GetCurrentDir()
5353
group = []
5454
src = []
5555
inc = []
56-
LOCAL_CCFLAGS = ''
5756

5857
# add file and path
5958
for root, dirs, files in os.walk(cwd):
6059
for dir in dirs:
6160
src = src + Glob(os.path.join(root,dir,'*.c'))
6261
inc = inc + [os.path.join(root,dir)]
6362

64-
group = DefineGroup('pikascript', src, depend = ['PKG_USING_PIKASCRIPT'], CPPPATH = inc, LOCAL_CCFLAGS = LOCAL_CCFLAGS)
63+
group = DefineGroup('pikascript', src, depend = ['PKG_USING_PIKASCRIPT'], CPPPATH = inc)
6564

6665
Return('group')
6766

0 commit comments

Comments
 (0)