Source

xUnit++ / Tests / BareTests / sconscript

Full commit
Import('env')

targetFile = env['getTargetFile']('BareTests', 'shared')
intDir = env['getIntDir']('BareTests')

local = env.Clone()
local.VariantDir(intDir, './', duplicate = 0)
local.Append(CPPPATH = ['../../xUnit++', '..'])

target = local.SharedLibrary(targetFile, Glob(intDir + '*.cpp'), LIBS = env['xUnit'])

Return('target')