Skip to content
Snippets Groups Projects

Add flag NO_MODULE_LIBRARY to dune_add_library

Summary

Add the flag NO_MODULE_LIBRARY to the cmake function dune_add_library. If this option is set, the created library is not added to the global property list DUNE_MODULE_LIBRARIES and thus not automatically linked when dune_enable_all_packages (or a similar macro) is invoked.

Application

This option is useful if you want to create libraries in a dune modules that should be automatically exported but not automatically linked against. An example is the alberta libraries that are created for multiple dimensions and not all should be linked simultaneously but only on request of a specific dimension.

Merge request reports

Pipeline #40288 passed

Pipeline: Dune Nightly Test

#40292

    Pipeline passed for 404ea1a2 on feature/add-flag-no-module-library-to-dune-add-library

    Approval is optional

    Merged by Simon PraetoriusSimon Praetorius 3 years ago (Oct 14, 2021 10:21pm UTC)

    Merge details

    • Changes merged into master with 0e78dc72.
    • Deleted the source branch.
    • Auto-merge enabled

    Pipeline #40294 passed

    Pipeline: Dune Nightly Test

    #40299

      Pipeline passed for 0e78dc72 on master

      Activity

      Filter activity
      • Approvals
      • Assignees & reviewers
      • Comments (from bots)
      • Comments (from users)
      • Commits & branches
      • Edits
      • Labels
      • Lock status
      • Mentions
      • Merge request status
      • Tracking
      Please register or sign in to reply
      Loading