Jump to content

Premake

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Frap (talk | contribs) at 11:04, 19 December 2019 (→‎Sample script: Lua style guide). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Premake
Original author(s)Jason Perkins
Stable release
4.3[1] / November 16, 2010; 13 years ago (2010-11-16)
Preview release
5.0-alpha14[2] / May 5, 2019; 5 years ago (2019-05-05)
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 the features of the system 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

There are a number of notable uses including:[4]

See also

References

  1. ^ "Releases".
  2. ^ https://github.com/premake/premake-core/releases/tag/v5.0.0-alpha14
  3. ^ Premake Freecode entry
  4. ^ a b c d "Who Uses Premake".
  5. ^ Bullet 2.79 release
  6. ^ Building project
  7. ^ Building with Premake
  8. ^ Building OpenJAUS

External links