-
Notifications
You must be signed in to change notification settings - Fork 20
Scripting Reference
mba105 edited this page Sep 21, 2014
·
7 revisions
Home > Scripting Reference
This section describes the functions and variables available to Premake scripts.
Premake is built on Lua, so everything in the Lua Reference Manual applies to a Premake script. Premake adds the ability to define solutions, projects, and configurations, as well as functions useful for build configuration tasks.
You may also want to check out LuaForge for a wide assortment of Lua add-on modules.
- _ACTION
- _ARGS
- _OPTIONS
- _PREMAKE_COMMAND
- _PREMAKE_VERSION
- _SCRIPT
- _WORKING_DIR
- buildaction
- buildoptions
- configuration
- configurations
- debugargs
- debugdir
- defines
- deploymentoptions
- excludes
- files
- flags
- framework
- iif
- imageoptions
- imagepath
- implibdir
- implibextension
- implibname
- implibprefix
- implibsuffix
- include
- includedirs
- kind
- language
- libdirs
- linkoptions
- links
- location
- newaction
- newoption
- objdir
- os.chdir
- os.copyfile
- os.findlib
- os.get
- os.getcwd
- os.getversion
- os.is
- os.is64bit
- os.isdir
- os.isfile
- os.matchdirs
- os.matchfiles
- os.mkdir
- os.outputof
- os.pathsearch
- os.rmdir
- os.stat
- os.uuid
- path.getabsolute
- path.getbasename
- path.getdirectory
- path.getdrive
- path.getextension
- path.getname
- path.getrelative
- path.isabsolute
- path.iscfile
- path.iscppfile
- path.isresourcefile
- path.join
- path.rebase
- path.translate
- pchheader
- pchsource
- platforms
- postbuildcommands
- prebuildcommands
- prelinkcommands
- printf
- project
- resdefines
- resincludedirs
- resoptions
- solution
- string.endswith
- string.explode
- string.findlast
- string.startswith
- table.contains
- table.implode
- targetdir
- targetextension
- targetname
- targetprefix
- targetsuffix
- uuid
- vpaths