From: Steve Brokenshire Date: Sat, 18 Jun 2016 22:36:17 +0000 (+0100) Subject: Added build shell scripts for unit testing and GUI building X-Git-Tag: release-0.02~120 X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=commitdiff_plain;h=fccdf15a7c322be7d22b83b0433595fe2f8867b8 Added build shell scripts for unit testing and GUI building Please do not rely on these script - they will be removed and replaced with proper Makefiles at a later date. --- diff --git a/source/tests/build-gui.sh b/source/tests/build-gui.sh new file mode 100755 index 0000000..297fb89 --- /dev/null +++ b/source/tests/build-gui.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +g++ `wx-config --libs --cxxflags` -ggdb --std=c++11 \ +xestiacalendar_testxccalendarday.cpp \ +../widgets/XCCalendarDay.cpp \ +../widgets/XCCalendarDayEntry.cpp \ +-DXESTIACAL_UNITTEST -o xestiacalendar_testgui_xccalendarday diff --git a/source/tests/build.sh b/source/tests/build.sh new file mode 100755 index 0000000..d3534be --- /dev/null +++ b/source/tests/build.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +g++ `xml2-config --cflags --libs` -ggdb --std=c++11 -lcurl -lgtest -pthread \ +xestiacalendar_test.cpp xestiacalendar_testcommon.cpp xestiacalendar_populate.cpp \ +../objects/calendarevent/CalendarEvent.cpp \ +../objects/calendarevent/CalendarEvent-Save.cpp \ +../objects/calendartask/CalendarTask.cpp \ +../objects/calendartask/CalendarTask-Save.cpp \ +../objects/calendarjournal/CalendarJournal.cpp \ +../objects/calendarjournal/CalendarJournal-Save.cpp \ +../objects/calendarfreebusy/CalendarFreeBusy.cpp \ +../objects/calendarfreebusy/CalendarFreeBusy-Save.cpp \ +../objects/calendartimezone/CalendarTimezone.cpp \ +../objects/calendartimezone/CalendarTimezone-Save.cpp \ +../objects/calendarobject/CalendarObject.cpp \ +../objects/calendarobject/CalendarObject-Save.cpp \ +../common/file.cpp \ +../common/text.cpp \ +../common/uuid.cpp \ +../objects/CalDAV/CalDAV.cpp \ +../objects/CalDAV/CalDAV-XMLProcessing.cpp \ +-DXESTIACAL_UNITTEST -o xestiacalendar_test