Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added common/filename.cpp to compile for the unit testing application.
[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  ../common/dirs-unittest.o \
14  ../common/filename-unittest.o \
15  ../vcard/vcard34conv-unittest.o \
16  ../vcard/vcard34conv-v3conv-unittest.o \
17  ../vcard/vcard34conv-v4conv-unittest.o \
18  ../vcard/vcard-unittest.o \
19  xestiaab_test.o)
20  
21 default: testobjs
22 @GTEST@
24 %.o: %.cpp
25         $(CPP) $(CPPFLAGS) -c -o $@ $<
26         
27 %-unittest.o: %.cpp
28         $(CPP) $(CPPFLAGS) -c -o $@ $<
29         
30 testobjs: $(TESTOBJS)
32 clean:
33         rm -rf *.o ../*-unittest.o $(XABTEST_OUT)
34         rm -rf ../contacteditor/cdo/*-unittest.o
35         rm -rf ../common/*-unittest.o
36         rm -rf ../vcard/*-unittest.o
37         chmod 644 InvalidPermissions.vcf
38         
39 -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