winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/entrypoint.md

32 lines
452 B
Markdown
Raw Normal View History

2024-09-24 12:54:57 +00:00
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)