summaryrefslogtreecommitdiff
path: root/src/unittest/nmtest.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-11-22 18:06:14 -0800
committerGabe Black <gabeblack@google.com>2017-11-28 10:58:08 +0000
commitb86f9210ec5be61fa5adade73bb8b84d552ba630 (patch)
tree82660eabe348ee2768a8b70d1c55391c3e1d5e7c /src/unittest/nmtest.cc
parent6ea5639a03e0ed11be8ba688a5e3d2352aef9c28 (diff)
downloadgem5-b86f9210ec5be61fa5adade73bb8b84d552ba630.tar.xz
tests: scons: Integrate the googletest library into the build.
A static library is built using gtest-all.cc and includes the gtest main function from gtest_main.cc. extra libraries to use when linking are included in the main environment variable GTEST_LIBS, and extra CPPFLAGS are in GTEST_CPPFLAGS. The library's path is added to the library search path, and it's headers to the header search path. Change-Id: I2bd6f705bd9fac5db9280996f574b168c11ff8ce Reviewed-on: https://gem5-review.googlesource.com/6083 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/unittest/nmtest.cc')
0 files changed, 0 insertions, 0 deletions