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

Disallow building with shared libraries and MSVC #699

Closed
wants to merge 1 commit into from

Conversation

rafmudaf
Copy link
Collaborator

@rafmudaf rafmudaf commented Mar 28, 2021

Feature or improvement description
This pull requests disallows building with shared libraries while using the MSVC build tool.

Related issue, if one exists
#448

Impacted areas of the software
CMake on Windows with MSVC

Additional supporting information
Not tested!

Test results, if applicable
Not tested!

Update 5/12/2021: I've verified that with BUILD_SHARED_LIBS=ON, the build system (tested with NMake) cannot find the required .libs that should accompany a .dll. I've also verified that the error message in this pull request prevents the configuration when using MSVC and BUILD_SHARED_LIBS=ON. The MSVC CMake variable is True even when using all Intel compilers.

@rafmudaf rafmudaf self-assigned this Mar 28, 2021
@rafmudaf rafmudaf marked this pull request as ready for review May 12, 2021 19:00
@rafmudaf rafmudaf marked this pull request as draft August 4, 2021 18:35
@reos-rcrozier
Copy link
Contributor

My recent recent pull request #1010 might address this issue more directly.

@andrew-platt
Copy link
Collaborator

Closing this due to inactivity (and @rafmudaf said I can).

@rafmudaf rafmudaf deleted the cmake/shared_libs branch October 28, 2022 18:30
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.

3 participants