glob in Sconscript

parent 5620bcc6
......@@ -9,23 +9,9 @@ SConscript('buildmats/SConscript')
SConscript('addcrit/SConscript')
SConscript('tinygb_init/SConscript')
print(Glob('*.cc'))
source_files = Glob('*.cc') + \
Glob('matrices/*.cc') + \
Glob('linalg/*.cc')
source_files = Split(Glob('*.cc')) +
Split(Glob('matrices/*.cc')) +
Split(Glob('linalg/*.cc))
# ['main.cc',
# 'monomial.cc',
# 'polynomial.cc',
# 'polynomial_in_matrix.cc',
# 'critical_pair.cc',
# 'matrices/spmat.cc',
# 'matrices/rowmajmat.cc',
# 'matrices/io_utils.cc',
# 'utils.cc',
# 'glob_params.cc',
# 'linalg/storage_matrix.cc',
# 'givaro_wrapper.cc',
# 'logger.cc']
env.Program('tinygb', source_files)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment