Premake

From Wikipedia, the free encyclopedia

Original author(s)Jason Perkins
Stable release
4.3[1] / 16 November 2010; 14 years ago (16 November 2010)
Preview release
5.0.0-beta4[2] / 30 December 2024; 2 months ago (30 December 2024)
Repository
Premake
Original author(s)Jason Perkins
Stable release
4.3[1] / 16 November 2010; 14 years ago (16 November 2010)
Preview release
5.0.0-beta4[2] / 30 December 2024; 2 months ago (30 December 2024)
Repository
Written inC, Lua
Typebuild automation tool
License3-clause BSD License[3]
Websitepremake.github.io Edit this on Wikidata

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:[4]

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

References

Related Articles

Wikiwand AI