Is it possible to use the CPack DEB generator on Windows to create deb packages?

124 Views Asked by At

The documentation for CPack DEB generator says it's Unix only. At the same time there's "Building Debian packages on Windows" paragraph.

I use Windows on my development machine and cross-compile for ARM Debian Linux. The project uses CMake. I'd like to confirm whether it's possible to create deb package in Windows or I should investigate other means.

Thank you!

1

There are 1 best solutions below

0
Alexandr Zarubkin On BEST ANSWER

Tried it myself and it worked out of the box, no Windows specifics required. Used https://decovar.dev/blog/2021/09/23/cmake-cpack-package-deb-apt/ as a reference.