Refactoring: Added dependency info about subprojects in the top level project file replacing the 'ordered' kludge - now we can build any of the subprojects by specifying the target - e.g. 'make server' to build drone

This commit is contained in:
Srivats P 2015-12-18 22:22:28 +05:30
parent 9cd92c47ab
commit 3755d2af0a

27
ost.pro
View File

@ -1,11 +1,20 @@
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = \
extra \
rpc/pbrpc.pro \
common/ostproto.pro \
common/ostprotogui.pro \
server/drone.pro \
client/ostinato.pro \
binding/binding.pro
SUBDIRS = client server ostproto ostprotogui rpc binding extra
client.target = client
client.file = client/ostinato.pro
client.depends = ostproto ostprotogui rpc extra
server.target = server
server.file = server/drone.pro
server.depends = ostproto rpc
ostproto.file = common/ostproto.pro
ostprotogui.file = common/ostprotogui.pro
ostprotogui.depends = extra
rpc.file = rpc/pbrpc.pro
binding.target = binding
binding.depends = ostproto