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

[MSVC] Set default path for libraries under MSVC #6503

Closed
wants to merge 3 commits into from

Conversation

Orvid
Copy link
Contributor

@Orvid Orvid commented Nov 2, 2015

This is needed because, quite simply, expecting a dev to explicitly set all 61 of these variables, and then also disable the 5 extensions as well, is just a bit impractical, and, unless they know how CMake handles dependencies internally, they would only be able to use a single configuration, either debug or release, depending on which specific library they referred to in each variable, because you can't mix debug and release objects with MSVC.

This is intended to work with the package of dependencies I've setup here, along the same style as PHP.

With this, a dev that has that dependency pack setup correctly only has to set the path to Boost, and, for now at least, UODBC, as it's not auto-detected correctly at the moment. This massively reduces the effort required for a new developer to get HHVM configured for MSVC.

This is needed because, quite simply, expecting a dev to explicitly set all 61 of these variables, and then also disable the 5 extensions as well, is just a bit impractical, and, unless they know how CMake handles dependencies internally, they would only be able to use a single configuration, either debug or release, depending on which specific library they refered to in each variable, because you can't mix debug and release objects with MSVC. This is intended to work with the package of dependencies I've setup [here](https://github.com/Orvid/hhvm/releases/tag/v0.0.1), along the same style as PHP.

With this, a dev that has that dependency pack setup correctly only has to set the path to Boost, and, for now at least, UODBC, as it's not auto-detected correctly at the moment.
@facebook-github-bot
Copy link
Contributor

This pull request has been imported into Phabricator, and discussion and review of the diff will take place at https://reviews.facebook.net/D50001

@hhvm-bot hhvm-bot closed this in 05bc70f Nov 27, 2015
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.

None yet

2 participants