| Premake | |
|---|---|
| Original author | Jason Perkins |
| Stable release | 4.3
/ 16 November 2010 |
| Preview release | 5.0.0-beta4
/ 30 December 2024 |
| Written in | C, Lua |
| Type | build automation tool |
| License | 3-clause BSD License |
| Website | premake |
| Repository | |
Premake is a software development tool for generating build configuration files for platform specific build tools based on configuration files that are platform agnostic. The tool is open-source.
Notable features include:
The following is an example premake configuration file.
solution "MySolution"
configurations { "Debug", "Release" }
project "MyProject"
kind "ConsoleApp"
language "C++"
includedirs { "include" }
files { "src/**.h", "src/**.cpp" }
configuration "Debug"
symbols "On"
defines { "_DEBUG" }
configuration "Release"
flags { "Optimize" }
defines { "NDEBUG" }
Projects that use Premake include: 0 A.D., Bullet, Open Dynamics Engine, VDrift, and wxFormBuilder,