-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[libvhdi] Initial Port #36063
[libvhdi] Initial Port #36063
Conversation
@microsoft-github-policy-service agree |
Why not just build with |
It's preferred to use CMake when possible, this library is quite small so it is manageable to do so. I took inspiration from the Thanks, |
It is preferred to use the build system maintained upstream. |
Got it, now using autoconf and msbuild. |
This reverts commit 94e0c97.
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.
I still think it should use its native build system. Maybe even autotools for windows.
"license": "LGPL-3.0-or-later", | ||
"supports": "!uwp", | ||
"dependencies": [ | ||
"gettext", |
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.
No, this isn't what you need.
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.
Why do you think that? According to the libvhdi build requirements gettext is needed.
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.
What is needed? libintl? gettext tools?
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.
And often it can be disabled with autotools.
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.
What is needed? libintl? gettext tools?
Still not answered.
The thing is, autotools is not the "native build system" for this library. I'm open to suggestions on how to overcome that barrier and compile using MSBuild for windows and autotools for Unix, but as far as I am aware there's no simple way to build vcproj using vcpkg. |
So for all platforms but MSVC, autotools is known to work. And for MSVC, we didn't try to use it. |
Who cares about guidelines? |
There are four ports now from https://github.com/libyal/: libpff, libqcow, libvmdk, libvhdi. |
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxxvcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.