Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
random: Implemented Win32 version
[xestiacalendar/.git] / source / tests / build.sh
1 #!/bin/sh
3 # Build the library first.
5 g++ -ggdb --std=c++11 -c ../libraries/CalendarDataStorage/CalendarDataStorage.cpp \
6  -o ../libraries/CalendarDataStorage/CalendarDataStorage-test.o \
7  -lsqlite3
8 ar rcs libCalendarDataStorage-test.a ../libraries/CalendarDataStorage/CalendarDataStorage-test.o
10 echo "Building main unit test app..."
12 # Build the unit testing application.
14 g++ `xml2-config --cflags --libs` -ggdb --std=c++11 -lcurl -lgtest -pthread \
15 xestiacalendar_test.cpp xestiacalendar_testcommon.cpp xestiacalendar_populate.cpp \
16 ../objects/calendarevent/CalendarEvent.cpp \
17 ../objects/calendarevent/CalendarEvent-Save.cpp \
18 ../objects/calendartask/CalendarTask.cpp \
19 ../objects/calendartask/CalendarTask-Save.cpp \
20 ../objects/calendarjournal/CalendarJournal.cpp \
21 ../objects/calendarjournal/CalendarJournal-Save.cpp \
22 ../objects/calendarfreebusy/CalendarFreeBusy.cpp \
23 ../objects/calendarfreebusy/CalendarFreeBusy-Save.cpp \
24 ../objects/calendartimezone/CalendarTimezone.cpp \
25 ../objects/calendartimezone/CalendarTimezone-Save.cpp \
26 ../objects/calendarobject/CalendarObject.cpp \
27 ../objects/calendarobject/CalendarObject-Save.cpp \
28 ../common/file.cpp \
29 ../common/text.cpp \
30 ../common/uuid.cpp \
31 ../common/monthviewgen.cpp \
32 ../common/random.cpp \
33 ../objects/CalDAV/CalDAV.cpp \
34 ../objects/CalDAV/CalDAV-XMLProcessing.cpp \
35 -DXESTIACAL_UNITTEST -o xestiacalendar_test \
36 -L. -lCalendarDataStorage-test -lsqlite3
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