summaryrefslogtreecommitdiff
path: root/make.defs
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-06-22 22:30:13 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-06-23 22:07:50 -0700
commitdbbfda0e96037da4f208ff8f00d181a5294484ae (patch)
tree7a7b9982c6d98ddc2271aade72040ea9233a4a11 /make.defs
parent83db3bbee4e19e7426a32ee89ad6c2d8e48260f2 (diff)
downloadtmwa-dbbfda0e96037da4f208ff8f00d181a5294484ae.tar.gz
tmwa-dbbfda0e96037da4f208ff8f00d181a5294484ae.tar.bz2
tmwa-dbbfda0e96037da4f208ff8f00d181a5294484ae.tar.xz
tmwa-dbbfda0e96037da4f208ff8f00d181a5294484ae.zip
add new stuff stuff (with tests!), poison memcmp and strncpy
Diffstat (limited to 'make.defs')
-rw-r--r--make.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/make.defs b/make.defs
index 7e788c5..b5b47fa 100644
--- a/make.defs
+++ b/make.defs
@@ -8,6 +8,12 @@ BISON = bison
CXXFLAGS = -pipe -g -O2 ${WARNINGS}
WARNINGS = -include src/warnings.hpp
+# Location of gtest source tree. It must contain the file src/gtest-all.cc
+# Note: linking against a precompiled library is NOT supported;
+# it may have used different CXXFLAGS. See
+# http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog
+GTEST_DIR = /usr/src/gtest
+
# works on both x86 and x86_64
override CXX += -std=c++0x
# for linking