Diederik de Haas:
On Wednesday, 7 December 2022 10:13:00 CET Chris Knadle wrote:
What I really need is a Debian source package that uses CMake to see an
example of how to build a package. I'm looking at list of packages that
reverse depend on cmake, maybe I can find a Debian source package that
build-depends on CMake that way.
Maybe https://salsa.debian.org/cryptocoin-team/monero ?
It uses CMake and upstream uses .gitsubmodules
Yes the Debian monero package uses cmake and the debian/rules file does too
which is indicated by this:
DH_OPTIONS = -O--buildsystem=cmake
%:
dh $@ $(DH_OPTIONS:-O%=%)
When I was looking at Debian packaging with cmake I saw that it's possible to
differentiate files into binary packages in a new way. Instead the
monero.install and monero-tests.install files in debian/ for the monero and
monero-tests binary packages look traditional, which may simplify the
transition, so that's something useful.
Thanks
-- Chris
--
Chris Knadle
chris.kna...@coredump.us