alibaba / PhotonLibOS

Probably the fastest coroutine lib in the world!

Home Page:https://PhotonLibOS.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install option via cmake?

sptrakesh opened this issue · comments

Hello,

Can you also provide an install target to copy the headers and libraries to a user specified path?

Thanks
Rakesh

Installing headers is a reasonable request, but I just wonder why you need to expose the libraries? Did you integrate Photon into your own lib?

We plan to migrate quite a few of our services and processes that are currently ASIO based to Photon. Having a pre-built library helps us reduce build times, especially with multi-arch docker builds. Since build time is billed, we try and reduce it as much as possible.

OK, we will add the install target later. BTW, you can build Photon that relies on none of the shared libraries on host now. https://photonlibos.github.io/docs/introduction/how-to-build#example