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

[rapidjson] Remove usage #18308

Merged
merged 4 commits into from
Jun 11, 2021
Merged

Conversation

JackBoosY
Copy link
Contributor

@JackBoosY JackBoosY commented Jun 7, 2021

Remove the usage since the upstream export the target rapidjson.

Fixes #18292.

@JackBoosY JackBoosY added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:internal This PR or Issue was filed by the vcpkg team. labels Jun 7, 2021
@JackBoosY
Copy link
Contributor Author

@upsj Is that what you need?

Copy link
Contributor

@upsj upsj left a comment

Choose a reason for hiding this comment

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

@JackBoosY Thanks, that looks good! Somehow I didn't even notice the usage file 🤦‍♂️ I thought it was somehow autogenerated based on the exported cmake config.

ports/rapidjson/usage Outdated Show resolved Hide resolved
@JackBoosY
Copy link
Contributor Author

Now, the usage is printed automatically:

The package rapidjson:x86-windows provides CMake targets:

    find_package(RapidJSON CONFIG REQUIRED)
    target_link_libraries(main PRIVATE rapidjson)

@JackBoosY JackBoosY changed the title [rapidjson] Improve usage [rapidjson] Remove usage Jun 8, 2021
@JackBoosY JackBoosY requested a review from PhoebeHui June 9, 2021 01:58
Copy link
Contributor

@PhoebeHui PhoebeHui left a comment

Choose a reason for hiding this comment

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

LGTM

@PhoebeHui PhoebeHui added the info:reviewed Pull Request changes follow basic guidelines label Jun 10, 2021
@strega-nil-ms
Copy link
Contributor

great, thanks :)

@strega-nil-ms strega-nil-ms merged commit 4d6d09b into microsoft:master Jun 11, 2021
@JackBoosY JackBoosY deleted the dev/jack/18292 branch June 15, 2021 02:05
WorkingRobot pushed a commit to WorkingRobot/vcpkg that referenced this pull request Jul 12, 2021
* [rapidjson] Improve usage

* update version record

* Remove usage

* update version record
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[rapidjson] port usage reports wrong variable
4 participants