diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-12 14:50:58 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-12 14:50:58 +0200 |
commit | ac6c52c33a7e288e39e876fe031ee4776b11276a (patch) | |
tree | cab71ef4cffc8f17cdba176bbf09ff99559c407d /make | |
parent | 5f3a8703b307aab697a8fa9045c7135f2c1956c7 (diff) |
Google C++ Testing Framework 1.7.0
Diffstat (limited to 'make')
-rw-r--r-- | make/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make/Makefile b/make/Makefile index 5b27b6a..9ac7449 100644 --- a/make/Makefile +++ b/make/Makefile @@ -20,10 +20,12 @@ GTEST_DIR = .. USER_DIR = ../samples # Flags passed to the preprocessor. -CPPFLAGS += -I$(GTEST_DIR)/include +# Set Google Test's header directory as a system directory, such that +# the compiler doesn't generate warnings in Google Test headers. +CPPFLAGS += -isystem $(GTEST_DIR)/include # Flags passed to the C++ compiler. -CXXFLAGS += -g -Wall -Wextra +CXXFLAGS += -g -Wall -Wextra -pthread # All tests produced by this Makefile. Remember to add new tests you # created to the list. |