Initial community commit
This commit is contained in:
31
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/entrypoint.md
vendored
Normal file
31
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/entrypoint.md
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
Specify the program entry point, e.g. `main()`.
|
||||
|
||||
```lua
|
||||
entrypoint ("value")
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`value` is the name of the program's entry point function.
|
||||
|
||||
### Applies To ###
|
||||
|
||||
Project configurations.
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 5.0 or later.
|
||||
|
||||
|
||||
### Examples ###
|
||||
|
||||
Use the Microsoft Windows console application entry point instead of the usual `WinMain()`.
|
||||
|
||||
```lua
|
||||
entrypoint "mainCRTStartup"
|
||||
```
|
||||
|
||||
|
||||
### See Also ###
|
||||
|
||||
* [`WinMain` flag](flags.md)
|
||||
Reference in New Issue
Block a user