Add gtest
This commit is contained in:
parent
4799a7fe49
commit
d9a8920cdf
41 changed files with 30833 additions and 4 deletions
|
|
@ -82,9 +82,14 @@ charles_lib = env.SConscript(os.path.join(src_dir.path, 'SConscript'),
|
|||
duplicate=0)
|
||||
|
||||
# Build test
|
||||
gtest_dir = Dir('#gtest')
|
||||
gtest = env.SConscript(os.path.join(gtest_dir.path, 'SConscript'),
|
||||
exports=['env'],
|
||||
variant_dir=os.path.join('build', gtest_dir.path),
|
||||
duplicate=0)
|
||||
test_dir = Dir('#test')
|
||||
env.SConscript(os.path.join(test_dir.path, 'SConscript'),
|
||||
exports=['env', 'charles_lib'],
|
||||
exports=['env', 'gtest', 'charles_lib'],
|
||||
variant_dir=os.path.join('build', test_dir.path),
|
||||
duplicate=0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue