Page 1 of 1

Request for vcpkg support

Posted: Sat May 18 2019 9:52 pm
by b22
Might I suggest that a vcpkg package be created for CopperSpice? Both QT5 and vxWidgets are in vcpkg, so CopperSpice would fit right in. It's quite nice, being easy to use and cross-platform. It's definitely not only for Windows.

I'm a little too inexperienced with CMake to attempt it myself. I don't think it would take much work since CopperSpice now builds with CMake though.

https://github.com/Microsoft/vcpkg

Re: Request for vcpkg support

Posted: Sun May 19 2019 2:48 am
by ansel
Might I suggest that a vcpkg package be created for CopperSpice? Both QT5 and vxWidgets are in vcpkg, so CopperSpice would fit right in. It's quite nice, being easy to use and cross-platform. It's definitely not only for Windows.

I'm a little too inexperienced with CMake to attempt it myself. I don't think it would take much work since CopperSpice now builds with CMake though.
Thanks for your idea! Various contributors have been looking at all sorts of packaging options on our supported platforms. On Windows we have been looking at both vcpkg and NuGet. Do you have a preference or an opinion between these two options?

Re: Request for vcpkg support

Posted: Sun May 19 2019 3:48 am
by b22
NuGet is the standard for .NET package management, and perhaps PowerShell too. It doesn't emphasize C++, but it's simple and gets the job done. vcpkg definitely is all about C++ though.

vcpkg targets Linux, macOS, and Windows. Hundreds of packages are already supported. Since CopperSpice already uses CMake, the hard part is over.

This CppCon talk is worth watching: https://www.youtube.com/watch?v=sBP17HQAQjk. It's about how to make libraries easier for package maintainers to deal with.