SelfTest: Build as C++11, add EnumToString tests

Note: EnumToString tests currently fail - haven't made the changes to
catch_tostring yet.
This commit is contained in:
Andy Sawyer
2014-09-01 17:24:10 +01:00
parent 000e746415
commit 142f8f4b1e
2 changed files with 74 additions and 2 deletions

View File

@@ -8,12 +8,13 @@ SOURCES = ApproxTests.cpp \
TestMain.cpp \
TrickyTests.cpp \
BDDTests.cpp \
VariadicMacrosTests.cpp
VariadicMacrosTests.cpp \
EnumToString.cpp
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXX = g++
CXXFLAGS = -I../../include
CXXFLAGS = -I../../include -std=c++11
CatchSelfTest: $(OBJECTS)
$(CXX) -o $@ $^