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

Disambiguate shared and static libs .lib files on Windows using MSVC #455

Merged
merged 5 commits into from
May 16, 2024

Conversation

adriendelsalle
Copy link
Contributor

Description

Disambiguate shared and static libs .lib files on Windows using MSVC
Suffix library output name with _static when building both static and shared libs on Windows

Closes #454

@balos1
Copy link
Member

balos1 commented May 15, 2024

Please add a note about this change to CHANGELOG.md and doc/shared/RecentChanges.rst

@adriendelsalle
Copy link
Contributor Author

@balos1

  • rebased on develop
  • added changes to CHANGELOG.md and doc/shared/RecentChanges.rst
  • fixed SUNDIALS_EXPORT macro incorrectly set when building both variants -> let me know if you prefer another PR for this, even if it's related to building both static and shared libs

@balos1 balos1 merged commit 83c3e66 into LLNL:develop May 16, 2024
19 checks passed
@balos1 balos1 added this to the SUNDIALS Next milestone May 16, 2024
@adriendelsalle adriendelsalle deleted the fix-static-and-shared-on-win branch May 17, 2024 15:12
gardner48 pushed a commit that referenced this pull request Jun 20, 2024
#455)

Description
---

Disambiguate shared and static libs `.lib` files on Windows using MSVC
Suffix library output name with `_static` when building both static and
shared libs on Windows

Closes #454

---------

Co-authored-by: Markus Mützel <[email protected]>
Co-authored-by: Cody Balos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when building both static and shared libs on Windows with MSVC
3 participants