mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-16 21:58:08 +00:00
waf: Only compile cc files in src/
This commit is contained in:
parent
7b0d2d7bf2
commit
544818bdd4
2
wscript
2
wscript
@ -121,7 +121,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(['src/**/*.cpp', 'src/**/*.cc'])
|
cc_files = bld.path.ant_glob(['src/*.cc'])
|
||||||
|
|
||||||
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