premake/website/docs/_MAIN_SCRIPT_DIR.md
2021-03-12 22:10:24 +01:00

440 B

The _MAIN_SCRIPT_DIR global variable stores the full path to the directory which contains 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