---
title: libraryType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlcompileoptions/librarytype
---

# libraryType

The kind of library to create.

## Declaration

```swift
var libraryType: MTLLibraryType { get set }
```

## Discussion

Discussion The default value is MTLLibraryType.executable.

## See Also

### Configuring the library output options

- [installName](metal/mtlcompileoptions/installname.md)
