mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
142f8f4b1e
Note: EnumToString tests currently fail - haven't made the changes to catch_tostring yet.
28 lines
566 B
Makefile
28 lines
566 B
Makefile
SOURCES = ApproxTests.cpp \
|
|
ClassTests.cpp \
|
|
ConditionTests.cpp \
|
|
ExceptionTests.cpp \
|
|
GeneratorTests.cpp \
|
|
MessageTests.cpp \
|
|
MiscTests.cpp \
|
|
TestMain.cpp \
|
|
TrickyTests.cpp \
|
|
BDDTests.cpp \
|
|
VariadicMacrosTests.cpp \
|
|
EnumToString.cpp
|
|
|
|
|
|
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
|
|
CXX = g++
|
|
CXXFLAGS = -I../../include -std=c++11
|
|
|
|
CatchSelfTest: $(OBJECTS)
|
|
$(CXX) -o $@ $^
|
|
|
|
test: CatchSelfTest
|
|
./CatchSelfTest
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) CatchSelfTest
|
|
|