base-cpp/lib/gtest/SConscript

27 lines
587 B
Python

# SConscript
# vim: set ft=python:
#
# Build file for the gtest library. This file also serves as an example for how
# to build libraries for inclusion with my SCons environment. Libraries should
# return a build object.
#
# Eryn Wells <eryn@erynwells.me>
import os.path
Import('env')
env.Append(CPPPATH=[Dir('include').srcnode()])
files = [
'gtest-all.cc',
'gtest-death-test.cc',
'gtest-filepath.cc',
'gtest-port.cc',
'gtest-printers.cc',
'gtest-test-part.cc',
'gtest-typed-test.cc',
'gtest.cc',
]
gtest = env.Library('gtest', files)
Return('gtest')