-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
HOW TO REPRODUCE
- take a
packagedependencies.txtfile with a condition, say %COND - invoke
remaken install --condition COND=true/remaken install+ yes via the command line
EXPECTED BEHAVIOR
- installs the depedency if true, don't install it if false but do no configure project
OBSERVED BEHAVIOR
- creates file
.build-rules/linux-gcc-x86_64/configure_conditions.pri
DEFINES += COND
- In the documentation,
configureandinstallare two separate commands, so I would expect conditions oninstallto only perform an installation of the conditionnalized dependency. - We encounter this behavior wtih our CI where
remaken installis called so that it always answeryesto everything (because there might be other cases where the command prompts the user for input other than remaken conditions). But then, when building the actual qmake project, we define variables to set the expected conditions in the .pro file. But since theconfigure_conditions.priis already generated with all conditions to true, it seems that what we set the the .pro file is not taken into account.
Reactions are currently unavailable