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

Static build? #148

Closed
Kaned1as opened this issue Oct 23, 2022 · 6 comments
Closed

Static build? #148

Kaned1as opened this issue Oct 23, 2022 · 6 comments

Comments

@Kaned1as
Copy link
Contributor

I see the project now produces libcurlcpp as a build result.
It was implemented here: e7c7656

Before 2.0 I was using this project also for static builds of curlcpp + libcurl. Are there any plans of bringing it back?

@JosephP91
Copy link
Owner

Hi @Kaned1as I just pushed the fix. Now by default cmake builds the static library. If you want to build the shared/dynamic version, just pass the variable -DBUILD_SHARED_LIBS=SHARED from command line when you start the build. Let me know if you have problems

@Kaned1as
Copy link
Contributor Author

Thank you, I will have a look today and post back here!

@JosephP91
Copy link
Owner

Great. I also pushed a new version, curlcpp 2.1

@JosephP91
Copy link
Owner

@Kaned1as have you had the chance to test it?

@Kaned1as
Copy link
Contributor Author

@JosephP91 yeah the build works now! But hadn't tested the runtime yet, will continue today

@JosephP91
Copy link
Owner

@Kaned1as ok. Feel free to close the issue if it works. Thanks!

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