I have this situation in my app.pro:
TEMPLATE = subdirs
SUBDIRS += A\
B\
C
B.depends = A
C.depends = A
I would like to exclude project C from build depending on the platform. I've tried to do the following but that's not working (project C is always included):
TEMPLATE = subdirs
SUBDIRS += A\
B
android {
SUBDIRS += C
C.depends = A
}
B.depends = A
Is it possible to do something like that? Thank you