Skip to content

[windres-rc] support --define, --include-dir#26454

Merged
JavierMatosD merged 2 commits intomicrosoft:masterfrom
wrobelda:windres_missing_switches
Aug 23, 2022
Merged

[windres-rc] support --define, --include-dir#26454
JavierMatosD merged 2 commits intomicrosoft:masterfrom
wrobelda:windres_missing_switches

Conversation

@wrobelda
Copy link
Copy Markdown
Contributor

Describe the pull request
Adds support for missing windres CLI switches: --define and --include

  • Which triplets are supported/not supported? Have you updated the CI baseline?

    Not applicable

  • Does your PR follow the maintainer guide?

    Yes

  • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

Not applicable

@wrobelda wrobelda force-pushed the windres_missing_switches branch from 55d1ed8 to 5666689 Compare August 21, 2022 18:20
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for gpgme have changed but the version was not updated
version: 1.14.0#2
old SHA: f037926ddc1a092f0db7089609e65ff9f221fa77
new SHA: aa178ab736a0cdb40ebbae130bdaf55dc136743b
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

github-actions[bot]
github-actions bot previously approved these changes Aug 21, 2022
@JackBoosY JackBoosY added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed and removed category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist labels Aug 22, 2022
@JackBoosY JackBoosY requested a review from BillyONeal August 22, 2022 03:06
@JackBoosY JackBoosY added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Aug 23, 2022
@JackBoosY
Copy link
Copy Markdown
Contributor

I'm not sure about this part, needs @BillyONeal @ras0219-msft review this.

;;
--include-dir*)
eat=1
set x "$@" "-I $2"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

since $2 is a path doesn't this require func_file_conv ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good call. Fixed.

@BillyONeal
Copy link
Copy Markdown
Member

Related: #26424

@JavierMatosD
Copy link
Copy Markdown
Contributor

Thanks!

@JavierMatosD JavierMatosD merged commit e5eb2da into microsoft:master Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants