---
title: ModuleKind.macro
framework: swift-package-manager
role: symbol
role_heading: Case
path: swift-package-manager/documentation/packageplugin/modulekind/macro
---

# ModuleKind.macro

A module that contains code for a macro.

## Declaration

```swift
case macro
```

## See Also

### Kinds of Modules

- [ModuleKind.executable](swift-package-manager/documentation/packageplugin/modulekind/executable.md)
- [ModuleKind.test](swift-package-manager/documentation/packageplugin/modulekind/test.md)
- [ModuleKind.generic](swift-package-manager/documentation/packageplugin/modulekind/generic.md)
- [ModuleKind.snippet](swift-package-manager/documentation/packageplugin/modulekind/snippet.md)
