Re: building debug and release with new style debhelper
On Wed, Apr 3, 2013 at 12:52 AM, Richard Ulrich wrote:
> That's not really what I want. The packages I'm building (richbool and
> modassert) are mainly concerned with providing information about failed
> asserts in debug code. So the debug builds are actually more important
> than the release ones.
> I'm even considering to make the librichbool-dev package depend on the
> librichbool-dbg package.
Hmmmm.
> I started mixing in the overrides like below (not working yet).
> Am I on the right path with that?
How about this (untested):
%:
dh $@ --buildsystem cmake --builddirectory=build-debian-release
dh $@ --buildsystem cmake --builddirectory=build-debian-debug
override_dh_auto_configure:
dh_auto_configure --builddirectory=build-debian-release --
-DCMAKE_BUILD_TYPE:STRING=Release
dh_auto_configure --builddirectory=build-debian-debug --
-DCMAKE_BUILD_TYPE:STRING=Debug
--
bye,
pabs
http://wiki.debian.org/PaulWise
Reply to: