Skip to content

All additional parameters forwarded to dune_add_library in dune_enable_all_packages

The CMake function dune_enable_all_packages allows to create libraries that all targets in a cmake project are automatically linked against. This works by calling dune_add_library internally. In order to pass extra arguments to the dune_add_library function, this MR allows to combine the library name with the parameters as a string:

dune_enable_all_packages(MODULE_LIBRARIES
  "name1 EXPORT_NAME Name1 NAMESPACE Dune::"
  "name2 EXPORT_NAME Name2")

Merge request reports

Loading