ocarina/tests/lib/Sconscript

24 lines
469 B
Python

#!/usr/bin/python
import os
Import("test_env", "generic_test")
objs = []
core = []
for f in Glob("../../core/*.cpp"):
f = str(f)
core += [ test_env.Object("%s-core" % os.path.basename(f), f) ]
for f in Glob("../../core/tags/*.cpp"):
f = str(f)
core += [ test_env.Object("tags/%s-core" % os.path.basename(f), f) ]
def test(name):
global core, objs
objs = generic_test(name, "lib", objs, core)
test( "lib" )
test_env.UsePackage("gtkmm-3.0")
test( "model" )