8000 Add static library target and cpack support by masariello · Pull Request #851 · redis/hiredis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add static library target and cpack support #851

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

Merged
merged 3 commits into from
Sep 8, 2020

Conversation

masariello
Copy link
Contributor

This will enable builders to use cpack to obtain packages in any of the formats supported by CPack (eg RPM, DEB, and NuGet)

@michael-grunder
Copy link
Collaborator

Thanks for the PR!

I'm currently putting together v1.0.0 so I think this will need to wait until the first dot release. Changing anything involving build systems makes me too nervous right before such a big release 😄

We should be able to include it in 1.0.1 though given (at first glance) that it appears to be backward compatible.

@masariello
Copy link
Contributor Author

Still planning to merge this?

< 8000 a class="d-inline-block" data-hovercard-type="user" data-hovercard-url="/users/michael-grunder/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/michael-grunder">@michael-grunder
Copy link
Collaborator

Yes, apologies. I will get this merged tomorrow.

@michael-grunder
Copy link
Collaborator

When I build this in a Windows VM I get a fatal linker error:

Build command:
cmake .. -G Ninja -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DENABLE_SSL=ON -DENABLE_EXAMPLES=ON && ninja -v

Error:
LINK : fatal error LNK1104: cannot open file 'crypto32.lib'

I have no issues building master with SSL enabled.

@masariello
Copy link
Contributor Author

My bad. I had to copy the last commit from a different machine, and the change was so small that I decided to do it by hand, thereby introducing that extra "o" (crypto32 instead of crypt32). Now fixed.

Apologies

@michael-grunder
Copy link
Collaborator

No worries, thanks for taking a look!

I honestly don't know a lot about Windows so didn't realize it was just a typo. 😄

I'll give it another test and then get this merged for you.

@michael-grunder michael-grunder merged commit 1b40ec5 into redis:master Sep 8, 2020
@michael-grunder
Copy link
Collaborator

Merged, thanks!

@OmriSteiner
Copy link
Contributor

@michael-grunder this fixed #742, right?

@michael-grunder
Copy link
Collaborator

I think so, thanks for reminding me!

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

Successfully merging this pull request may close these issues.

3 participants
0