Supplying python bindings target name ensures stubgen doesn't import a target that's not built yet.
Before, stubgen used to check if a target named "python" existed. This PR allows the user to give a list of optional arguments, each of which are checked to be an existing target and then appended to the stubgen target's dependencies.
Resolves #584
This should also fix stack-of-tasks/pinocchio/issues/1879
Supplying python bindings target name ensures stubgen doesn't import a target that's not built yet.
Before, stubgen used to check if a target named "python" existed. This PR allows the user to give a list of optional arguments, each of which are checked to be an existing target and then appended to the stubgen target's dependencies.
Resolves #584
This should also fix stack-of-tasks/pinocchio/issues/1879