Skip to content

_MAIN_SCRIPT

starkos edited this page Apr 10, 2021 · 2 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


The _MAIN_SCRIPT global variable stores the full path to the main project script. This will be the value passed to the --file command line argument, or the location of the initial premake5.lua script if no --file argument was specified.

Availability

Premake 5.0 or later.

See Also

Clone this wiki locally