Hi! On Sat, Sep 05, 2009 at 09:53:11PM +0200, PICCA Frédéric-Emmanuel wrote: > Hello > > I must pass a few parameters to the cmake command > -DBUILD_SHARED_LIBS=ON -DBUILD_DEMOS=OFF -DBUILD_EXTRAS=OFF > > how can I do this with dh and the cmake buildsystem > > in the Buildsystem we have this > > sub configure { > my $this=shift; > my @flags; > > # Standard set of cmake flags > push @flags, "-DCMAKE_INSTALL_PREFIX=/usr"; > push @flags, "-DCMAKE_VERBOSE_MAKEFILE=ON"; > > $this->mkdir_builddir(); > $this->doit_in_builddir("cmake", $this->get_source_rel2builddir(), @flags, @_); > } > > what is the command to add thoses parameters to the flags > > if I use override I must add the default parameters by and. but I do not necessarly knows about them. > you should be able to do this: override_dh_auto_configure: dh_auto_configure -- -DBUILD_SHARED_LIBS=ON -DBUILD_DEMOS=OFF -DBUILD_EXTRAS=OFF Cheers, Ryan -- _________________________ Ryan Niebur ryanryan52@gmail.com
Attachment:
signature.asc
Description: Digital signature