Object object
Object object

Reputation: 2054

Is there a tool for meson similar/equivalent to CPack for CMake?

I have recently started learning meson and I am testing switching to it (from CMake) in one of my projects. The problem is that I usually use cpack to build the project's packages/installers, and after scouring the meson docs for something similar to cpack I am unable to find anything.

Requirements/what I currently use cpack for

There is the information on building release archives and then using scripts to process them with packaging tools (such as inno). However, this is not really what I am looking for as it is far more awkward and inflexible than cpack (i.e I have to change 3 different scripts if the directory structure changes).

Ultimately I can learn to use the meson system and manually write packaging scripts, no doubt it will make me a better scripter, however, I am eager to know if there is a better way of doing this which is not advertised in the docs or if there is some unofficial project which will automate the process.

Edit

By package I mean like a deb package - a package for a system package manager, not something like conan

Upvotes: 7

Views: 833

Answers (1)

Szymon Janora
Szymon Janora

Reputation: 136

I suggest that you use conan. Please take a look at conan configuration in the Meson.

Upvotes: 5

Related Questions