- add("if", &Loader::condition);
- add("if_feat", &Loader::if_feature);
- add("program", &Loader::component<Component::PROGRAM>);
- add("library", &Loader::component<Component::LIBRARY>);
- add("module", &Loader::component<Component::MODULE>);
- add("headers", &Loader::headers);
- add("install", &Loader::component<Component::INSTALL>);
- add("datafile", &Loader::component<Component::DATAFILE>);
- add("source_tarball", &Loader::source_tarball);
+ add("generate", &Loader::generate);
+ add("if_feature", &Loader::if_feature);
+ add("program", &Loader::component_arg<BinaryComponent, BinaryComponent::Type, BinaryComponent::PROGRAM>);
+ add("library", &Loader::component_arg<BinaryComponent, BinaryComponent::Type, BinaryComponent::LIBRARY>);
+ add("module", &Loader::component_arg<BinaryComponent, BinaryComponent::Type, BinaryComponent::MODULE>);
+ add("install", &Loader::component<InstallComponent>);
+ add("interface_version", &Loader::interface_version);
+ add("datapack", &Loader::component<DataPackComponent>);
+ add("source_archive", &Loader::source_archive);
+ add("source_tarball", &Loader::source_archive);