From 53efee70e43a0b1d9110e9f94e0b8de5495fe7dc Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Wed, 7 Jun 2017 18:09:41 -0700 Subject: [PATCH] Only build files under src/ --- wscript | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wscript b/wscript index a5866792..ac991da7 100644 --- a/wscript +++ b/wscript @@ -119,11 +119,7 @@ def build(bld): print('CLANG_INCLUDE_DIR: {0}'.format(CLANG_INCLUDE_DIR)) print('CLANG_LIB_DIR: {0}'.format(CLANG_LIB_DIR)) - cc_files = bld.path.ant_glob(['**/*.cpp', '**/*.cc'], - excl=['foo/*', - 'libcxx/*', - '*tests/*', - 'third_party/*']) + cc_files = bld.path.ant_glob(['src/**/*.cpp', 'src/**/*.cc']) lib = ['clang'] if sys.platform == 'linux' or sys.platform == 'linux2':