On Mon, Dec 4, 2023 at 11:46 AM Eric Guinn via lists.yoctoproject.org <eric_guinn=selinc....@lists.yoctoproject.org> wrote:
> Hello, > > I need some feedback/advice on a "problem" I'm facing with the recipe > system. Currently, I have a library written in C++ that also has generated > SWIG bindings and a resultant Python lib to install. In order to do both > the C++ build/install and the python build/install I have to use two > different recipes, but really these outputs always need to be present > together (they're in the same repo). I may also add .NET bindings in the > future, so any answers related to that will help as well. > > Insofar I've not found a way to get a single recipe to do multiple > builds/installs, if I do: > > ``` > inherit cmake > inherit setuptools3 > ``` > Probably not ideal, but perhaps you could roll the entire build (C++ and Python) into your CMakeLists.txt file and use your recipe to generate separate packages? ..Ch:W.. -- *"Perfection must be reached by degrees; she requires the slow hand of time." - Voltaire*
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61798): https://lists.yoctoproject.org/g/yocto/message/61798 Mute This Topic: https://lists.yoctoproject.org/mt/102977917/21656 Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-