I use premake4.exe utility for generate project files for different platforms. The problem is that I could not find how to specify custom application entry point in lua-config file.
Which option should I use? For example, in Visual Studio I can go to
Project Properties->Linker->Advanced
Entry Point = name_of_my_entry_point_function
In premake4 manual (http://industriousone.com/flags) I found only WinMain() flag that determinate WinMain function as application entry point, but I need custom entry point for example like a wmain().