All apps/Premake

Premake

premake

Build configuration tool that generates project files and makefiles from Lua scripts.

Runs as premake|macOS, Linux, Windows|premake.github.io

Command form

ai-draft · 4 tasks · 19 fields

Generate project files from a premake5.lua script, or clean generated files. Other actions (for example older Visual Studio versions) and the interactive and debugger options are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui premake

premake gmake2

Generate Makefiles

Generate GNU Makefiles (including Cygwin and MinGW).

Generate MakefilesExample values, fixed in this page — nothing here reaches a terminal
Basic
premake5.lua file
file
Target OS
string
C/C++ compiler set
string
Warnings are errors
--fatal
Verbose output
--verbose
TasksEach one presets the form for one job
Generate Makefiles
fileosccfatalverbose
ParametersOnly these flags are editable in the form
premake5.lua file
path
--file
Target OS
string
--oslinuxmacosxwindowsiosandroidbsd
C/C++ compiler set
string
--ccclanggccmingw
Warnings are errors
boolean
--fatal
Verbose output
boolean
--verbose

premake xcode4

Generate Xcode project

Generate Apple Xcode 4 project files.

Generate Xcode projectExample values, fixed in this page — nothing here reaches a terminal
Basic
premake5.lua file
file
Target OS
string
C/C++ compiler set
string
Warnings are errors
--fatal
Verbose output
--verbose
TasksEach one presets the form for one job
Generate Xcode project
fileosccfatalverbose
ParametersOnly these flags are editable in the form
premake5.lua file
path
--file
Target OS
string
--oslinuxmacosxwindowsiosandroidbsd
C/C++ compiler set
string
--ccclanggccmingw
Warnings are errors
boolean
--fatal
Verbose output
boolean
--verbose

premake vs2022

Generate Visual Studio 2022

Generate Visual Studio 2022 project files.

Generate Visual Studio 2022Example values, fixed in this page — nothing here reaches a terminal
Basic
premake5.lua file
file
Target OS
string
C/C++ compiler set
string
Warnings are errors
--fatal
Verbose output
--verbose
TasksEach one presets the form for one job
Generate Visual Studio 2022
fileosccfatalverbose
ParametersOnly these flags are editable in the form
premake5.lua file
path
--file
Target OS
string
--oslinuxmacosxwindowsiosandroidbsd
C/C++ compiler set
string
--ccclanggccmingw
Warnings are errors
boolean
--fatal
Verbose output
boolean
--verbose

premake clean

Clean

Remove all binaries and generated files.

CleanExample values, fixed in this page — nothing here reaches a terminal
Basic
premake5.lua file
file
Target OS
string
Warnings are errors
--fatal
Verbose output
--verbose
TasksEach one presets the form for one job
Clean
fileosfatalverbose
ParametersOnly these flags are editable in the form
premake5.lua file
path
--file
Target OS
string
--oslinuxmacosxwindowsiosandroidbsd
Warnings are errors
boolean
--fatal
Verbose output
boolean
--verbose
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed premake against its version. A form that does not match your version is not offered.