libApp/tests/project.conf
Pierre Pronchery 88de4c2c90 Workaround the inclusion of system headers in tests
At this point the tests are still completely broken before installing
the necessary plug-ins in the system. They can finally run in this case
though, so this is definitely an improvement.
2015-05-11 01:22:12 +02:00

60 lines
1.1 KiB
Plaintext

targets=Dummy.h,appclient,appmessage,appserver,includes,lookup,tests.log,transport
cppflags_force=-I ../include -isystem .
cflags_force=-W `pkg-config --cflags libSystem`
cflags=-Wall -g -O2
ldflags_force=`pkg-config --libs libSystem` -lApp
ldflags=-L../src -Wl,-rpath,../src -rdynamic
dist=System/App.h,Makefile,tests.sh
[Dummy.h]
type=script
script=../tools/appbroker.sh -O APPBROKER=../tools/AppBroker
depends=../data/Dummy.interface,../tools/appbroker.sh
[appclient]
type=binary
sources=appclient.c
ldflags=../src/libApp.a
[appclient.c]
depends=../src/libApp.a
[appmessage]
type=binary
sources=appmessage.c
ldflags=../src/libApp.a
[appmessage.c]
depends=../src/libApp.a
[appserver]
type=binary
sources=appserver.c
ldflags=../src/libApp.a
[appserver.c]
depends=../src/libApp.a,$(OBJDIR)Dummy.h
[includes]
type=binary
sources=includes.c
[lookup]
type=binary
sources=lookup.c
[lookup.c]
depends=../src/apptransport.h
[tests.log]
type=script
script=./tests.sh
depends=appclient,appmessage,appserver,includes,lookup,tests.sh,transport,../src/transport/tcp.c,../src/transport/udp.c
[transport]
type=binary
sources=transport.c
[transport.c]
depends=../src/libApp.a