Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build either shared or static #191

Closed
TheClonerx opened this issue Aug 30, 2021 · 1 comment
Closed

Build either shared or static #191

TheClonerx opened this issue Aug 30, 2021 · 1 comment

Comments

@TheClonerx
Copy link

Currently there are ongoing efforts to package this library in the Conan Center Index here.
One of the issues we are having is that this project builds both the static and shared version of the library, but we only package either of those.
I suggest adding two new options, BUILD_SHARED and BUILD_STATIC and for compatibility both defaulting to ON.

zpostfacto added a commit that referenced this issue Nov 15, 2021
Added MSVC_CRT_STATIC option.  Defaults to off.  Should help with linking
against protobuf or other situations.

Added BUILD_STATIC_LIB and BUILD_SHARED_LIB options.  (Fixes issue #191)

I think I probably also need to add an option to build the cert tool
and maybe package it up, too (issue #186) but that isn't included
in this change.
@zpostfacto
Copy link
Contributor

Added BUILD_STATIC_LIB and BUILD_SHARED_LIB options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants