19 lines
369 B
Python
19 lines
369 B
Python
#!/bin/false
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
|
|
Import('env')
|
|
|
|
test_env = env.Clone();
|
|
|
|
dir_path = Dir('.').abspath
|
|
|
|
env.test_sources = sorted(glob.glob(dir_path + "/*.cpp"))
|
|
env.test_headers = sorted(glob.glob(dir_path + "/*.h"))
|
|
|
|
env.basic_test = test_env.Program('#/build/bin/basic_test', env.sources + env.test_sources);
|
|
env.Alias('test', [ env.basic_test ]);
|