-
-
Notifications
You must be signed in to change notification settings - Fork 169
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: Add installation support and fix cmake files #168
Conversation
Changing WIN32 flags to MSVC are indeed required since Linux>Windows cross-compilation will fail to build Crashpad right now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already a lot better!
I do have headaches and nightmares dealing with cmake actually. I’m happy to learn how to effectively use it!
Would be nice if you could check out the failures on CI. Most are just failing due to missing curl
, linux fails in the unwinder. not exactly sure what causes that though.
@madebr are you working on conan-io/conan-center-index#1089? |
Looks like it 😄 |
Indeed. After a small fix to sentry's crashpad cmake scripts (replacing WIN32 with MSVC), the build fails at: |
I have some questions
|
...And that's only the tip of the iceberg 😆 I'll try to push a patch for the Sentry's Crashpad fork once I get the whole process working with MinGW. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, would like some input from @jan-auer as well.
I do agree that throwing a hard error when curl
is not found is a great idea! Rather than silently compiling without, and having people complain why no reports are actually sent.
I just merged breakpad support in #169 , which will cause conflicts here. Sorry for the churn, and I hope I can learn some cmake skills by looking at how you adapt this PR. |
A word of caution, all unit tess have now CURL disabled. |
I think thats fine for now. The tests don’t test http yet anyway. I want to get there eventually. |
Thank you very much @madebr , awesome work! |
This pr:
I tested this on Linux and MSVC