Premake
From Wikipedia, the free encyclopedia
Page Module:Infobox/styles.css has no content.
| Premake | |
|---|---|
| [[Programmer|Original authorTemplate:Pluralize from text]] | Jason Perkins |
| Written in | C, Lua |
| Engine | Page Template:Plainlist/styles.css has no content.Template:EditAtWikidata |
| Type | build automation tool |
| License | Template:Wikidata |
| Website | Script error: No such module "WikidataIB". |
| Repository | Page Template:Plainlist/styles.css has no content. |
Script error: No such module "Check for conflicting parameters".
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.
Features
Notable features include:[1]
- Supports building a codebase written in C, C++, and C#
- Support for generating build configuration files for Visual Studio, GNU Make, Xcode, Code::Blocks, CodeLite, and MonoDevelop
- Can build on different environments using the same premake configuration files[<span title="Script error: No such module "decodeEncode".">clarification needed]
Examples
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" }
Notable uses
Projects that use Premake include: 0 A.D., Bullet, Open Dynamics Engine, VDrift, and wxFormBuilder,[2]
References
Page Template:Reflist/styles.css has no content.
- ^ Page Module:Citation/CS1/styles.css has no content."What is Premake?". premake.github.io. Retrieved 2025-01-29.
- ^ Page Module:Citation/CS1/styles.css has no content."Showcase". premake.github.io. Retrieved 2025-01-29.