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

Generate debug info when building with MSVC #178

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

jethrogb
Copy link
Contributor

@jethrogb jethrogb commented May 7, 2017

I'm not sure why the Visual Studio generators wouldn't do this automatically. I copied what libgit2 is doing.

@mention-bot
Copy link

@jethrogb, thanks for your PR! By analyzing the history of the files in this pull request, we identified @alamaison, @wildart and @dbyron0 to be potential reviewers.

@jethrogb
Copy link
Contributor Author

@alamaison @wildart @dbyron0 ping

@dbyron0
Copy link
Contributor

dbyron0 commented Mar 18, 2018

Sorry, I imagine this is right but know very little about cmake.

@jethrogb
Copy link
Contributor Author

@alamaison @wildart @dbyron0 ping

@alamaison
Copy link
Contributor

Don't you just need to switch to the Debug or RelWithDebugInfo configuration in the generated visual studio project?

@jethrogb
Copy link
Contributor Author

It's been a long time. I think I tried that but it didn't work. Do you want me to check again?

@stale
Copy link

stale bot commented Mar 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 21, 2019
@jethrogb
Copy link
Contributor Author

Instead of marking it stale, maybe just merge it?

@stale stale bot removed the stale label Mar 21, 2019
@bagder
Copy link
Member

bagder commented Mar 22, 2019

Anyone (else) building on Windows who can say something 👍 or 👎 about this PR?

@stale
Copy link

stale bot commented Jun 20, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 20, 2019
@jethrogb
Copy link
Contributor Author

not stale

@stale stale bot removed the stale label Jun 20, 2019
@willco007
Copy link
Member

@jethrogb did you happen to test the suggestion from @alamaison about changing the project configuration?

@jethrogb
Copy link
Contributor Author

jethrogb commented Aug 3, 2019

Ok I finally booted into Windows to test this flow again. I'm not using the graphical Visual Studio interface to build anything. I'm just using CMake for the entire build (with the Visual Studio backend). I confirmed that it still doesn't generate symbols without this change.

@willco007 willco007 merged commit 3319335 into libssh2:master Aug 12, 2019
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.

6 participants