redisclient icon indicating copy to clipboard operation
redisclient copied to clipboard

Building and installing shared libraries

Open psalvaggio opened this issue 8 years ago • 4 comments

Hello,

I'm interested in using this project in my work, but the build system is causing me some issues. Currently it is hardcoded to build static libraries and the CMake install only seems to install the source files. I can script generating new CMake easily enough, but if you are open to upgrade to the CMake 3 target-style system, I'd be happy to contribute back the CMake solution I come up with.

-Phil

psalvaggio avatar Oct 11 '17 13:10 psalvaggio

Hello. I'm open to good solutions :-)

I will be glad to accept your solution if it is good. What version cmake do you want to use?

nekipelov avatar Oct 11 '17 21:10 nekipelov

I think my solution needs a minimum of 3.1, which it looks like is about 3 years old at this point.

psalvaggio avatar Oct 12 '17 13:10 psalvaggio

Version is ok.

nekipelov avatar Oct 13 '17 10:10 nekipelov

I do have something up and running. I want to test out installing from the package manager, then I'll submit the PR in the next couple of days. Do you want header-only to default to on or off? Do you know what the minimum required version of boost is?

psalvaggio avatar Oct 16 '17 12:10 psalvaggio