PhotonLibOS icon indicating copy to clipboard operation
PhotonLibOS copied to clipboard

install option via cmake?

Open sptrakesh opened this issue 7 months ago • 3 comments

Hello,

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

Thanks Rakesh

sptrakesh avatar Dec 10 '23 01:12 sptrakesh

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?

beef9999 avatar Dec 10 '23 13:12 beef9999

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.

sptrakesh avatar Dec 10 '23 14:12 sptrakesh

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

beef9999 avatar Dec 10 '23 14:12 beef9999