chaincodelabs / libmultiprocess

C++ library and code generator making it easy to call functions and reference objects in different processes
MIT License
27 stars 20 forks source link

cmake: Introduce packages #96

Closed hebasto closed 6 months ago

hebasto commented 6 months ago

This PR adds configurations for the Libmultiprocess and LibmultiprocessGen packages.

The Bitcoin Core branch, with uses this PR branch, is available here.

As a suggestion for a follow-up, it seems worth disabling mpgen target for cross-compiling (see https://github.com/bitcoin/bitcoin/pull/29665#issuecomment-2002027957 and CMake docs).

Based on https://github.com/chaincodelabs/libmultiprocess/pull/95.

ryanofsky commented 6 months ago

Looks nice! Will review this. I remembered you also posted a proof of concept branch defining packages last year in https://github.com/chaincodelabs/libmultiprocess/pull/79#issuecomment-1407430661 that I guess this supercedes?

hebasto commented 6 months ago

I remembered you also posted a proof of concept branch defining packages last year in #79 (comment) that I guess this supercedes?

Yes, it does.