Skip to content

Commit 827daef

Browse files
judecumtmysterywolf
authored andcommitted
[tools] add more c++ src file type
1 parent b81d73e commit 827daef

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: tools/eclipse.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
MODULE_VER_NUM = 6
2323

24-
source_pattern = ['*.c', '*.cpp', '*.cxx', '*.s', '*.S', '*.asm','*.cmd']
24+
source_pattern = ['*.c', '*.cpp', '*.cxx', '*.cc', '*.s', '*.S', '*.asm','*.cmd']
2525

2626

2727
def OSPath(path):

Diff for: tools/mkdist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def do_copy_folder(src_dir, dst_dir, ignore=None):
5454

5555
shutil.copytree(src_dir, dst_dir, ignore = ignore)
5656

57-
source_ext = ['c', 'h', 's', 'S', 'cpp', 'xpm']
57+
source_ext = ['c', 'h', 's', 'S', 'cpp', 'cxx', 'cc', 'xpm']
5858
source_list = []
5959

6060
def walk_children(child):

Diff for: tools/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def xml_indent(elem, level=0):
106106
elem.tail = i
107107

108108

109-
source_ext = ["c", "h", "s", "S", "cpp", "xpm"]
109+
source_ext = ["c", "h", "s", "S", "cpp", "cxx", "cc", "xpm"]
110110
source_list = []
111111

112112
def walk_children(child):

Diff for: tools/wizard.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from building import *
4141
4242
cwd = GetCurrentDir()
43-
src = Glob('*.c') + Glob('*.cpp')
43+
src = Glob('*.c') + Glob('*.cpp') + Glob('*.cxx') + Glob('*.cc')
4444
CPPPATH = [cwd]
4545
4646
group = DefineGroup('COMPONENT_NAME', src, depend = [''], CPPPATH = CPPPATH)

0 commit comments

Comments
 (0)