Request for vcpkg support

Discuss issues related to installing or building
Post Reply
b22
Posts: 5
Joined: Mon Oct 23 2017 2:54 am

Request for vcpkg support

Post by b22 » Sat May 18 2019 9:52 pm

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

ansel
Posts: 64
Joined: Fri Apr 10 2015 8:23 am

Re: Request for vcpkg support

Post by ansel » Sun May 19 2019 2:48 am

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?

b22
Posts: 5
Joined: Mon Oct 23 2017 2:54 am

Re: Request for vcpkg support

Post by b22 » Sun May 19 2019 3:48 am

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.

Post Reply