ZeroCM / zcm

Zero Communications and Marshalling
http://zerocm.github.io/zcm/
GNU Lesser General Public License v2.1
233 stars 67 forks source link

Build with Bazel #439

Closed juanmed closed 1 year ago

juanmed commented 1 year ago

Hi,

First thanks for sharing such an interesting alternative to lcm. Reading through the documentation zcm is really attractive. I would like to build zcm with bazel and wonder whether you have any ideas/comments on where/how to start.

On my side, will attempt to understand what waf is doing, and attempt to replicate, though I am not familiar.

Thanks

jbendes commented 1 year ago

Waf is actually sort of like a lightweight server less bazel. Is there any reason you want to rewrite the build system? Personally, I wouldn't bother.

On Sun, Jul 2, 2023, 4:19 AM Juan @.***> wrote:

Hi,

First thanks for sharing such an interesting alternative to lcm. Reading through the documentation zcm is really attractive. I would like to bazel zcm with bazel and wonder whether you have any ideas/comments on where/how to start.

On my side, will attempt to understand what waf is doing, and attempt to replicate, though I am not familiar.

Thanks

— Reply to this email directly, view it on GitHub https://github.com/ZeroCM/zcm/issues/439, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXKUUBI5G6DCCFVBQG6W3TXOEVHZANCNFSM6AAAAAAZ3JTT7Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

juanmed commented 1 year ago

Thanks for your answer and time! Well, the reason is that the project I work on is using bazel. I guess your question is not why bazel over waf (I would not be able to answer anyway); this is more a constraint than a decision I have freedom over. That being said, if you have any further comments or know other projects using zcm with bazel I will appreciate you could share.

jbendes commented 1 year ago

Hi Juan,

Bazel can build external libraries. My recommendation would be to just build zcm as an external dependency to your project.

Best, Jonathan

On Sun, Jul 2, 2023, 10:37 PM Juan @.***> wrote:

Thanks for your answer and time! Well, the reason is that the project I work on is using bazel. I guess your question is not why bazel over waf (I would not be able to answer anyway); this is more a constraint than a decision I have freedom over. That being said, if you have any further comments or know other projects using zcm with bazel I will appreciate you could share.

— Reply to this email directly, view it on GitHub https://github.com/ZeroCM/zcm/issues/439#issuecomment-1617133209, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXKUUF2E6YDICHPGXFVRW3XOIWABANCNFSM6AAAAAAZ3JTT7Q . You are receiving this because you commented.Message ID: @.***>

juanmed commented 1 year ago

Thanks