Updated Android docs

This commit is contained in:
Sam Surtees 2022-10-03 00:30:57 +10:00
parent 261b627f54
commit 5fce18c601
6 changed files with 46 additions and 39 deletions

View File

@ -1,4 +1,4 @@
androidapilevel - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request.
Specifies the target Android API level.
```lua
androidapilevel (value)
@ -6,7 +6,7 @@ androidapilevel (value)
### Parameters ###
`value` - needs documentation.
`value` is a number specifying the target Android API level.
## Applies To ###
@ -19,6 +19,6 @@ Premake 5.0.0 alpha 14 or later.
### Examples ###
```lua
androidapilevel (value)
androidapilevel (21)
```

View File

@ -1,12 +1,14 @@
androidapplibname - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request.
Specfies the file name for the output APK.
```lua
androidapplibname (value)
androidapplibname ("value")
```
By default, the project name will be used as the file name for the APK.
### Parameters ###
`value` - needs documentation.
`value` is the new file name.
## Applies To ###
@ -19,6 +21,6 @@ Premake 5.0.0 alpha 14 or later.
### Examples ###
```lua
androidapplibname (value)
androidapplibname "MyProject"
```

View File

@ -1,16 +1,16 @@
floatabi - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request.
Specifies the floating point ABI to use.
```lua
floatabi (value)
floatabi ("value")
```
### Parameters ###
`value` is one of:
* `soft`: needs documentation
* `softfp`: needs documentation
* `hard`: needs documentation
* `soft`: Compiler will generate library calls for floating-point operations.
* `softfp`: Compiler will generate code using hardware floating-point instructions, but still uses the soft-float calling conventions.
* `hard`: Compiler will generate floating-point instructions using FPU-specific calling conventions.
## Applies To ###
@ -23,6 +23,6 @@ Premake 5.0.0 alpha 14 or later.
### Examples ###
```lua
floatabi (value)
floatabi "soft"
```

View File

@ -1,18 +1,20 @@
stl - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request.
Specifies which C++ Standard Library to use.
```lua
stl (value)
stl ("value")
```
The `staticruntime` API is used to determine if a static or shared version of the STL is used.
### Parameters ###
`value` is one of:
* `none`: needs documentation
* `gabi++`: needs documentation
* `stlport`: needs documentation
* `gnu`: needs documentation
* `libc++`: needs documentation
* `none`: Minimal C++ runtime library.
* `gabi++`: C++ runtime library.
* `stlport`: STLport runtime library.
* `gnu`: GNU STL library.
* `libc++`: LLVM libc++ library.
## Applies To ###
@ -25,6 +27,9 @@ Premake 5.0.0 alpha 14 or later.
### Examples ###
```lua
stl (value)
stl "libc++"
```
### See Also ###
* [staticruntime](staticruntime.md)

View File

@ -1,16 +1,16 @@
thumbmode - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request.
Specifies whether the code generation uses ARM or Thumb instruction sets.
```lua
thumbmode (value)
thumbmode ("value")
```
### Parameters ###
`value` is one of:
* `thumb`: needs documentation
* `arm`: needs documentation
* `disabled`: needs documentation
* `thumb`: Uses the Thumb instruction set.
* `arm`: Uses the ARM instruction set.
* `disabled`: Disables usage of Thumb instruction set.
## Applies To ###
@ -23,6 +23,6 @@ Premake 5.0.0 alpha 14 or later.
### Examples ###
```lua
thumbmode (value)
thumbmode "disabled"
```

View File

@ -1,21 +1,21 @@
toolchainversion - This page was auto-generated. Feel free to help us improve the documentation by creating a pull request.
Specifies the version of the toolchain to use.
```lua
toolchainversion (value)
toolchainversion ("value")
```
### Parameters ###
`value` is one of:
* `4.6`: needs documentation
* `4.8`: needs documentation
* `4.9`: needs documentation
* `3.4`: needs documentation
* `3.5`: needs documentation
* `3.6`: needs documentation
* `3.8`: needs documentation
* `5.0`: needs documentation
* `4.6`: GCC 4.6
* `4.8`: GCC 4.8
* `4.9`: GCC 4.9
* `3.4`: Clang 3.4
* `3.5`: Clang 3.5
* `3.6`: Clang 3.6
* `3.8`: Clang 3.8
* `5.0`: Clang 5.0
## Applies To ###
@ -23,11 +23,11 @@ The `config` scope.
### Availability ###
Premake 5.0.0 alpha 14 or later.
Premake 5.0.0 alpha 14 or later, only applies to Android projects.
### Examples ###
```lua
toolchainversion (value)
toolchainversion "5.0"
```