Software:Premake

From HandWiki
Premake
Original author(s)Jason Perkins
Stable release
4.3[1] / November 16, 2010; 13 years ago (2010-11-16)
Preview release
5.0-beta2[2] / September 4, 2022; 22 months ago (2022-09-04)
Repository
Written inC, Lua
Typebuild automation tool
LicenseNew BSD License
Websitepremake.github.io

Premake is an open-source software development utility for automatically building configuration from source code.

Features

Some of Premake's features are:[3]

Sample script

The following is an example Premake script for a simple software project.

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

See also

References

External links