From: mishas Date: Thu, 12 Apr 2007 06:51:09 +0000 (+0000) Subject: added a test application for gconf wrapper X-Git-Url: http://git.maemo.org/git/?p=simple-launcher;a=commitdiff_plain;h=847420f1ac24648cb0053f0493439bdf19089c8d added a test application for gconf wrapper git-svn-id: file:///svnroot/simple-launcher/trunk@166 3ba93dab-e023-0410-b42a-de7732cf370a --- diff --git a/Makefile b/Makefile index 1cbed79..ca7b6e0 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,9 @@ TARGET=simple-launcher.so DESKTOP_FILE=simple-launcher.desktop BACKUP_CONF=simple-launcher.backup -all: $(TARGET) +all: test2 $(TARGET) -tests: test test1 +tests: test test1 test2 $(TARGET): simple-launcher.o launchable-item.o launcher-item.o sla-list.o utils.o settings-dialog.o gconf-wrapper.o $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) @@ -29,8 +29,11 @@ test: test.o launcher-item.o test1: test1.o sla-list.o launcher-item.o g++ -g -o $@ $^ $(GTKLIBS) $(DBUSLIBS) $(LIBS) +test2: test2.o gconf-wrapper.o + g++ -g -o $@ $^ $(GCONFLIBS) + clean: - rm -f *.d *.o $(TARGET) test test1 + rm -f *.d *.o $(TARGET) test test1 test2 install: $(TARGET) install -d $(DESTDIR)/usr/share/applications/hildon-home diff --git a/test2.cc b/test2.cc new file mode 100644 index 0000000..ad3d36c --- /dev/null +++ b/test2.cc @@ -0,0 +1,7 @@ +#include + +#include "gconf-wrapper.h" + +int main() { + return 0; +}