charles/test/SConscript

23 lines
477 B
Text
Raw Normal View History

2013-09-08 12:14:36 -07:00
# SConscript
# vim: set ft=python:
#
# SConscript for building tests for charles.
#
# Eryn Wells <eryn@erynwells.me>
Import('env')
2013-09-12 15:50:40 -07:00
Import('gtest')
2013-09-13 11:09:20 -07:00
Import('gtest_include_dir')
2013-09-08 14:53:11 -07:00
Import('charles_lib')
2013-09-08 12:14:36 -07:00
files = Split("""
2013-09-13 11:09:20 -07:00
test_basics.cc
test_charles.cc
2013-09-08 12:14:36 -07:00
""")
2013-09-13 11:09:20 -07:00
test_env = env.Clone()
test_env.Append(CPPPATH=[gtest_include_dir])
test_env.Append(CPPDEFINES='GTEST_USE_OWN_TR1_TUPLE')
prog = test_env.Program('test_charles', [gtest, charles_lib, files])
2013-09-08 14:53:11 -07:00
env.Alias('test', prog)