-
Notifications
You must be signed in to change notification settings - Fork 30
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
VCPKG #13
Labels
Comments
Hi microchips, sorry, I have no experience with vcpkg. |
Why dont you use it header-only? |
wpalfi
added
enhancement
New feature or request
question
Further information is requested
labels
Dec 1, 2020
Werner,
Thanks for advise & email - I have it sorted now, Thank you.
Nice work.
Stephen
… On 1 Dec 2020, at 18:55, Werner Palfinger ***@***.***> wrote:
Why dont you use it header-only?
https://github.com/Profactor/cv-plot/blob/master/doc/integration.md#header-only <https://github.com/Profactor/cv-plot/blob/master/doc/integration.md#header-only>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#13 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGKH656OCS6BJGWNZSLH2GLSSU3Z5ANCNFSM4UHS3ZKA>.
|
Here is a starting point if someone wants to officially add to vcpkg. vcpkg.json {
"name": "cv-plot",
"version": "1.2.2",
"homepage": "https://github.com/Profactor/cv-plot",
"description": "Yes, another C++ plotting library.",
"license": "MIT",
"dependencies": [
{
"name" : "vcpkg-cmake",
"host" : true
},
{
"name" : "vcpkg-cmake-config",
"host" : true
},
"opencv"
]
} portfile.cmake vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Profactor/cv-plot
REF "v${VERSION}"
SHA512 61002c2cead32be2f48b7244c3c1b76c527a64e77f40a99de54eae01ec9d699bc58147b12bf2edb28e6996d71fef32235f0d31818411c73fbf058429b598defc
HEAD_REF cmake-sample-lib
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCVPLOT_USE_CONAN=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
trying to install libraries for cv-plot
Not sure how - normally I'd use vcpkg but its not listed.
Makefile reports error - something to do with conan?
The text was updated successfully, but these errors were encountered: