From 3755d2af0a76bf61fc38b0afc82680bee30b3895 Mon Sep 17 00:00:00 2001 From: Srivats P Date: Fri, 18 Dec 2015 22:22:28 +0530 Subject: [PATCH] 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 --- ost.pro | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/ost.pro b/ost.pro index 0e758eb..82f02f2 100644 --- a/ost.pro +++ b/ost.pro @@ -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