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

Simplify msys2 build and fully leverage vcpkg for MSVC #512

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mlt
Copy link

@mlt mlt commented Nov 11, 2024

The proposed changes streamline building on Windows using MSYS2 ecosystem as well as MSVC. For the latter, instead of manually installing dependencies with vcpkg, we can use a manifest file. I do not use vcpkg on other platforms, so I am not sure whether there might be some conflicts with automatically setting CMAKE_TOOLCHAIN_FILE in CMakeLists.txt if VCPKG_ROOT environment variable is set and whether it should be safeguarded with WIN32 conditional.

Also, I'm not sure what is the situation with mingw as I see some comments hinting at it like in lib/internal.c . However, those seem a) outdated, b) it is a pain to build without proposed changes (see msys2/MINGW-packages#22437).

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

Successfully merging this pull request may close these issues.

1 participant