KEMBAR78
CREATE_PROJECT/CI: Support vcpkg integration by SupSuper · Pull Request #4932 · scummvm/scummvm · GitHub
Skip to content

Conversation

@SupSuper
Copy link
Contributor

This PR adds a --vcpkg flag to create_project to get library dependencies directly from vcpkg instead of SCUMMVM_LIBS. This allows the CI to keep up with the latest vcpkg updates without requiring hacks and workarounds as libraries change (eg. #4648), and allows developers to use the latest library versions instead of pre-compiled if they prefer.

(based on the work of #2568)

@SupSuper SupSuper requested review from lotharsm and sluicebox April 23, 2023 17:56
@lotharsm
Copy link
Member

Sounds like a great idea to me. I'll hopefully have some time to test this tomorrow.

if (setup.useVcpkg) {
cmdLine += " "$(VcpkgCurrentInstalledDir)";
if (!isRelease) {
cmdLine += "debug/";
Copy link
Member

Choose a reason for hiding this comment

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

Isn't it missing a / at the beginning?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

VC paths already end in /
But you did make me spot a typo so thanks.

@sev-
Copy link
Member

sev- commented Apr 29, 2023

Thanks! Let's hope the github Ci is happier now

@sev- sev- merged commit 3e178ae into scummvm:master Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants