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

Use correct PDB paths #5213

Merged
merged 1 commit into from Aug 24, 2023
Merged

Conversation

AnyOldName3
Copy link

The previously-specified paths were only correct for a static library build.
I therefore fenced off that code to be specific to static library builds.

For shared library builds, I added a generator-expression-based alternative.
Annoyingly, this won't work with static library builds, so we don't get the concise, reliable version in all circumstances.

I've avoided modifying any of the paths anything ends up at to avoid breaking changes.

Resolves #4269

The previously-specified paths were only correct for a static library
build.
I therefore fenced off that code to be specific to static library
builds.

For shared library builds, I added a generator-expression-based
alternative.
Annoyingly, this won't work with static library builds, so we don't get
the concise, reliable version in all circumstances.

I've avoided modifying any of the paths anything ends up at to avoid
breaking changes.

Resolves assimp#4269
@AnyOldName3
Copy link
Author

Oh, I missed out in the commit message that I've switched from using IF(CMAKE_GENERATOR MATCHES "^Visual Studio") to IF(GENERATOR_IS_MULTI_CONFIG). This should improve compatibility with the Ninja Multi-Config generator. I've not tested whether that actually works, though. I wouldn't be unsurprised if it doesn't, but it'll at least be less broken than before.

Copy link
Member

@kimkulling kimkulling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine from my point of view.

@kimkulling kimkulling merged commit c953c9b into assimp:master Aug 24, 2023
11 checks passed
@kimkulling
Copy link
Member

Merged, thanks a lot for your contribution.

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

Successfully merging this pull request may close these issues.

Bug: Missing Pdb Files On CMake Install
2 participants