-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[reflectcpp] Add open-source library reflectcpp to vcpkg #38899
Conversation
@microsoft-github-policy-service agree company="Code17 GmbH" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This port vendors dependencies which causes it to conflict with libraries already available in vcpkg. Please declare these as dependencies and use the versions provided by the corresponding ports.
PS D:\vcpkg> .\vcpkg.exe install reflectcpp
Computing installation plan...
The following packages will be built and installed:
reflectcpp:x64-windows@0.10.0
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\bion\AppData\Local\vcpkg\archives in 84.6 us. Use --debug to see more details.
Installing 1/1 reflectcpp:x64-windows@0.10.0...
Building reflectcpp:x64-windows@0.10.0...
-- Using cached getml-reflect-cpp-v0.10.0.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/reflectcpp/src/v0.10.0-7d3f399a13.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg-downloads/getml-reflect-cpp-v0.10.0.tar.gz
-- Using source at D:/vcpkg/buildtrees/reflectcpp/src/v0.10.0-7d3f399a13.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/vcpkg/packages/reflectcpp_x64-windows/share/reflectcpp/copyright
-- Performing post-build validation
error: The following files are already installed in D:/vcpkg/installed/x64-windows and are in conflict with reflectcpp:x64-windows
Installed by ctre:x64-windows
include/ctre.hpp
Installed by yyjson:x64-windows
include/yyjson.h
Stored binaries in 1 destinations in 131 ms.
Elapsed time to handle reflectcpp:x64-windows: 6.7
We'll do upstream changes via: getml/reflect-cpp#79 |
Changed. Should be ready to review again. |
Changes are upstreamed and integrated. |
@BillyONeal Do you have any other modification requests for this PR? |
Any news? |
Sorry I lost track of this. |
Closed and reopened to trigger a remerge/retest given that it's been a while |
The problems I pointed out appear resolved
Thanks! |
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.vcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.