mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
Only build files under src/
This commit is contained in:
parent
8c50324576
commit
53efee70e4
6
wscript
6
wscript
@ -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':
|
||||||
|
Loading…
Reference in New Issue
Block a user