Jump to content

Premake

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

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

[edit]

Notable features include:[3]

Examples

[edit]

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

[edit]

Projects that use Premake include: 0 A.D., Box2D, Bullet, GpuCV, Open Dynamics Engine, OpenJAUS, VDrift.[4][5][6][7][8]

See also

[edit]

References

[edit]
  1. ^ "Releases". GitHub.
  2. ^ "Release Premake 5.0-beta2 · premake/Premake-core". GitHub.
  3. ^ Premake Freecode entry
  4. ^ "Who Uses Premake". GitHub.
  5. ^ Bullet 2.79 release
  6. ^ Building project
  7. ^ "Building with Premake". Archived from the original on 2011-11-02. Retrieved 2011-07-04.
  8. ^ Building OpenJAUS
[edit]