Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Moved the unit testing compilation into a separate Makefile
[xestiaab/.git] / source / tests / Makefile.in
1 CPP=g++
2 STRIP=strip
3 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -I.. -std=c++11 -pthread @DBGOUT@
4 CPPLIBS=`wx-config --libs` `curl-config --libs` -lsfml-audio -lxml2 -lgtest
5 MAKE=make
6 OBJDIR=.
8 XABTEST_OUT=xestiaab_test
10 TESTOBJS=$(addprefix $(OBJDIR)/, ../contacteditor/cdo/ContactDataObject-unittest.o \
11  ../convert-unittest.o \
12  ../common/textprocessing-unittest.o \
13  ../vcard/vcard34conv-unittest.o \
14  ../vcard/vcard34conv-v3conv-unittest.o \
15  ../vcard/vcard34conv-v4conv-unittest.o \
16  ../vcard/vcard-unittest.o \
17  xestiaab_test.o)
18  
19 default: testobjs
20 @GTEST@
22 %.o: %.cpp
23         $(CPP) $(CPPFLAGS) -c -o $@ $<
24         
25 %-unittest.o: %.cpp
26         $(CPP) $(CPPFLAGS) -c -o $@ $<
27         
28 testobjs: $(TESTOBJS)
30 clean:
31         rm -rf *.o ../*-unittest.o $(XABTEST_OUT)
32         rm -rf ../contacteditor/cdo/*-unittest.o
33         rm -rf ../common/*-unittest.o
34         rm -rf ../vcard/*-unittest.o
35         chmod 644 InvalidPermissions.vcf
36         
37 -include $(TESTOBJS:.o=.d)
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy