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

[wxchartdir] Add new port #7914

Merged
merged 6 commits into from
Nov 22, 2019
Merged

[wxchartdir] Add new port #7914

merged 6 commits into from
Nov 22, 2019

Conversation

zi-m
Copy link
Contributor

@zi-m zi-m commented Aug 26, 2019

@zi-m
Copy link
Contributor Author

zi-m commented Aug 26, 2019

arm, uwp and static are not supported because of chartdir

@zi-m zi-m marked this pull request as ready for review August 26, 2019 20:43
ports/wxchartdir/CONTROL Outdated Show resolved Hide resolved
project(wxchartdir CXX)

set(wxWidgets_EXCLUDE_COMMON_LIBRARIES TRUE)
find_package(wxWidgets REQUIRED COMPONENTS core base)
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of pulling an entirely separate git repo, we should either

a) Add CMake find_package support into the wxwidgets package (and use that)
b) Inline the find_library()/find_include() lines here. Since this only needs to handle vcpkg, this should be no more than 20 lines or so

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Totally agree. It would be the best/ideal solution.
I just want to share my solution with vcpkg community and I don't see big problem with pulling additional repo, which helps to build the library.

ports/wxchartdir/portfile.cmake Outdated Show resolved Hide resolved
@zi-m zi-m requested a review from ras0219-msft October 17, 2019 19:26
@ras0219-msft ras0219-msft merged commit f8288b0 into microsoft:master Nov 22, 2019
@ras0219-msft
Copy link
Contributor

Thank you for the PR!

@zi-m zi-m deleted the wxchartdir branch November 22, 2019 22:15
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.

3 participants