[Dune] How to build a single module?

Dominic Kempf dominic.r.kempf at gmail.com
Wed Nov 26 10:07:32 CET 2014


Hey Aleksejs,

you can use dunecontrols --only= option instead of the --module= option.
See dunecontrol --help for more options.

Dominic

On Wed, Nov 26, 2014 at 10:07 AM, Aleksejs Fomins <aleksejs.fomins at lspr.ch>
wrote:

> Dear Dune,
>
> When I change a CMakeList in one of the directories of my project, can I
> only rebuild that project, or do I need to rebuild the whole of Dune?
>
> I somehow expected that the command
>
> ./dune-common/bin/dunecontrol --use-cmake
> --opts=af.debian7.lsprag.cmakebuild.minimalistic.opts
> --module=dune-curvilineargrid
>
> would build my module. However, the output is just
>
> ----- using default flags $CONFIGURE_FLAGS from
>
> /home/fomins/gitwork/hades-github-lspr-ag/af.debian7.lsprag.cmakebuild.minimalistic.opts
> -----
> --- going to build dune-common dune-geometry dune-grid dune-alugrid
> dune-curvilineargrid  ---
> --- done ---
>
>
> even though I have modified the project. What is the correct way to do
> this?
>
> Thank you,
> Aleksejs
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141126/7c8d6a91/attachment.htm>


More information about the Dune mailing list