1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/env python Import('env') env.main_sources = [] env.add_source_files(env.main_sources, "*.cpp") Export('env') SConscript('tests/SCsub') lib = env.Library("main", env.main_sources) env.Prepend(LIBS=[lib])