[lib3mf] New port. Introduces version 2.3.2#39886
[lib3mf] New port. Introduces version 2.3.2#39886BillyONeal merged 65 commits intomicrosoft:masterfrom
Conversation
lib3mf VCPKG port
|
@microsoft-github-policy-service agree company="3MF Consortium" |
|
@dg0yt I have made the following changes
I will discuss and implement your other suggestions in the upstream project in future releases. |
|
@WangWeiLin-MV Could you please let me know if all the issues have been resolved? Thanks. |
Co-authored-by: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com>
|
@WangWeiLin-MV I have committed the requested changes. |
Co-authored-by: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com>
WangWeiLin-MV
left a comment
There was a problem hiding this comment.
The port usage tests pass with the following triplets:
- x64-linux
- x64-windows
|
@WangWeiLin-MV @dg0yt Thank you so much for valuable time and comments. |
ports/lib3mf/lib3mf_vcpkg.patch
Outdated
| + find_dependency(libzip) | ||
| + find_dependency(ZLIB) |
There was a problem hiding this comment.
Here these are controlled by VCPKG_TOOLCHAIN but elsewhere they're controlled by separate options. What controls find_dependency should always match what controls it in the CMakeLists.txt
BillyONeal
left a comment
There was a problem hiding this comment.
As written the patch seems inapplicable for either the goal of minimizing the size of the patch in vcpkg, as well as the goal of matching exactly what upstream should do. To that end, I would like to see something like one of the following.
Option A: Minimize the size of the patch to only what vcpkg needs to touch, I've submitted as 3MFConsortium#2
Option B: Actually wire up the new options correctly with respect to what upstream needs to do to be correct in their CMake configs; I've submitted that as 3MFConsortium#3
Reduce the size of the patch by removing optionality vcpkg does not use.
|
@BillyONeal Thank you so much for taking the time. I have accepted your Option A. Kindly check and let me know if its good enough to be approved. |
WangWeiLin-MV
left a comment
There was a problem hiding this comment.
The port usage tests pass with the following triplets:
- x64-linux
- x64-windows
|
Thanks for the new port! |
This PR introduces a new port for lib3mf. The version is 2.3.2
find_packagecalls are REQUIRED, are satisfied byvcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.vcpkg.jsonmatches what upstream says.vcpkg.jsonmatches what upstream says../vcpkg x-add-version --alland committing the result.