.. _dune_library_add_sources:

dune_library_add_sources
========================

.. cmake_function:: dune_library_add_sources

   .. cmake_param:: module_library
      :single:
      :positional:

      The name of the module library target.

   .. cmake_param: SOURCES
      :multi:
      :required:

      The source files to add to the DUNE module library :code:`module_library`.
      That library must have been created by an earlier call to :ref:`dune_enable_all_packages`
      in the current DUNE module.

   Register sources for module exported library.

