[Dune] How to build a single module?
Aleksejs Fomins
aleksejs.fomins at lspr.ch
Wed Nov 26 10:15:08 CET 2014
Hi Dominic,
Thank you for your reply. I have tried
./dune-common/bin/dunecontrol --use-cmake
--opts=af.debian7.lsprag.cmakebuild.minimalistic.opts
--only=dune-curvilineargrid
as you suggested, but the result is the same. This command simply exits
and does not build anything, unlike
./dune-common/bin/dunecontrol --use-cmake
--opts=af.debian7.lsprag.cmakebuild.minimalistic.opts all
which does build dune-curvilineargrid. What am I missing?
Regards,
Aleksejs
On 11/26/2014 10:07 AM, Dominic Kempf wrote:
> 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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141126/f529a7b1/attachment.sig>
More information about the Dune
mailing list