dune_target_enable_all_packagesΒΆ

dune_target_enable_all_packages(
    [TARGETS target1 [target2 ...]]
)
TARGETS

A list of targets to add all flags etc. too.

Adds all currently registered package flags (see dune_register_package_flags) to the given targets. This function is mainly intended to help write DUNE modules that want to use dune_enable_all_packages and define their own libraries, but need to be compatible with CMake < 3.1