Premake
premake.github.io
- Free plan
- Windows
- macOS
- Linux
What Premake is
Premake is a free command-line tool that reads a scripted software project definition and generates project files for toolsets such as Visual Studio, Xcode and GNU Make. Premake 5.0 supports projects in C, C++ and C#, with built-in generators for CodeLite, GNU Make, Visual Studio, Ninja and Xcode. Its Lua scripting environment can automate configuration tasks, including source checkout setup and deployment packaging. Add-on modules extend support to additional languages, frameworks and toolsets. Community modules list Android Studio, Code::Blocks, Eclipse, NetBeans, SlickEdit and Qt Creator/qmake, plus CMake, Ninja and compile_commands.json exporters. Other modules cover Android NDK, Emscripten, Native Client, Windows Runtime and Xbox 360. Premake runs on Linux, macOS and Windows as a self-contained executable requiring no additional libraries or runtimes.
Who it suits
It suits developers who want project files generated from a scripted definition across Linux, macOS and Windows. Teams using supported IDEs, build systems or community modules can use its Lua-based configuration.
Good to know, and what to watch
- Free BSD-licensed source code
- Generates projects for major toolsets
- Supports C, C++ and C#
- Runs on Linux, macOS and Windows
- Needs no additional runtimes
- Generated Makefiles lack a default make install step
- Some integrations depend on community modules
Plans
Every plan and pricePremake
Free plan
The verdict
Premake offers a script-driven way to generate native project files across several toolsets and operating systems. Its free executable and Lua environment support automation, while module availability determines extra integrations.
What the maker publishes
- Build integrations
- The modules list includes CMake and Ninja build system modules and exporters for compile_commands.json. source
- Extensibility
- Add-on modules can extend Premake with support for additional languages, frameworks, and toolsets. source
- IDE integrations
- Community modules list support for Android Studio, Code::Blocks, Eclipse, NetBeans, SlickEdit, and Qt Creator/qmake. source
- Installation
- Premake is distributed as a self-contained single-file command line executable; its downloads page lists Windows, Linux, and macOS binaries. source
- Languages
- Premake 5.0 can generate projects for C, C++, and C#. source
- Limits
- The current documentation says generated Makefiles do not support a make install step by default. source
- Platform modules
- Listed modules add support for Android NDK, Emscripten, Native Client, Windows Runtime, and Xbox 360. source
- Project generators
- Built-in generators include CodeLite, GNU Make, Visual Studio, Ninja, and Xcode. source
- Purpose
- Premake reads a scripted software project definition and generates project files for toolsets such as Visual Studio, Xcode, and GNU Make. source
- Scripting
- Premake includes a Lua scripting environment for automating configuration tasks, including source checkout setup and deployment packaging. source
- Security
- The documentation says Premake requires no additional libraries or runtimes to be installed. source
- Source license
- Premake's source code is available under the BSD License. source
- Support
- The site links users to community Discussions and Stack Overflow for help. source
- Supported builds
- Premake 5.0 generated projects can support 32-bit and 64-bit builds, and Xbox 360 builds through Visual Studio. source
Checked against the maker's pages on 11 Oct 2026.