Only build files under src/

This commit is contained in:
Jacob Dufault 2017-06-07 18:09:41 -07:00
parent 8c50324576
commit 53efee70e4

View File

@ -119,11 +119,7 @@ def build(bld):
print('CLANG_INCLUDE_DIR: {0}'.format(CLANG_INCLUDE_DIR)) print('CLANG_INCLUDE_DIR: {0}'.format(CLANG_INCLUDE_DIR))
print('CLANG_LIB_DIR: {0}'.format(CLANG_LIB_DIR)) print('CLANG_LIB_DIR: {0}'.format(CLANG_LIB_DIR))
cc_files = bld.path.ant_glob(['**/*.cpp', '**/*.cc'], cc_files = bld.path.ant_glob(['src/**/*.cpp', 'src/**/*.cc'])
excl=['foo/*',
'libcxx/*',
'*tests/*',
'third_party/*'])
lib = ['clang'] lib = ['clang']
if sys.platform == 'linux' or sys.platform == 'linux2': if sys.platform == 'linux' or sys.platform == 'linux2':