Add docs for embed and embedAndSign

This commit is contained in:
Thomas Hope 2022-06-09 01:56:26 +01:00
parent dc02a676e7
commit 747de22d38
2 changed files with 36 additions and 10 deletions

View File

@ -1,16 +1,22 @@
embed - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request.
---
title: embed
---
Sets value of the *Embed* field in Xcode under *Frameworks, Libraries, and Embedded Content* to **Embed Without Signing**
This results in the framework being copied into the built app bundle during the *Embed Libraries* build phase.
```lua
embed (value)
embed "Foo.framework"
```
### Parameters ###
`value` - needs documentation.
`value` is the name of the content to be embedded.
## Applies To ###
The `config` scope.
The `config` scope. Only applies to Xcode projects.
### Availability ###
@ -19,6 +25,13 @@ Premake 5.0.0 beta 1 or later.
### Examples ###
```lua
embed (value)
embed {
"SDL2.dylib",
"bar.framework"
}
```
### See Also ###
* [embedAndSign](embedandsign.md)
* [Embedding Frameworks in Xcode](Embedding-Frameworks-in-Xcode.md)

View File

@ -1,16 +1,22 @@
embedandsign - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request.
---
title: embedAndSign
---
Sets value of the *Embed* field in Xcode under *Frameworks, Libraries, and Embedded Content* to **Embed & Sign**
This results in the framework being copied into the built app bundle during the *Embed Libraries* build phase and signed.
```lua
embedandsign (value)
embedAndSign "SDL2.framework"
```
### Parameters ###
`value` - needs documentation.
`value` is the name of the content to be embedded and signed.
## Applies To ###
The `config` scope.
The `config` scope. Only applies to Xcode projects.
### Availability ###
@ -19,6 +25,13 @@ Premake 5.0.0 beta 1 or later.
### Examples ###
```lua
embedandsign (value)
embedAndSign {
"SDL2.framework",
"Another.framework"
}
```
### See Also ###
* [embed](embed.md)
* [Embedding Frameworks in Xcode](Embedding-Frameworks-in-Xcode.md)