Jump to content

Premake

From Wikipedia, the free encyclopedia
Premake
Original author(s)Jason Perkins
Stable release
4.3 / 16 November 2010; 14 years ago (16 November 2010)[1]
Preview release
5.0.0-beta3 / 12 November 2024; 51 days ago (12 November 2024)[2]
Repository
Written inC, Lua
Typebuild automation tool
License3-clause BSD License[3]
Websitehttps://premake.github.io/[4]

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

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.[6][7][8][9][10]

See also

[edit]

References

[edit]
  1. ^ "4.3". 16 November 2010. Retrieved 27 December 2024.
  2. ^ "Premake 5.0-beta3". 12 November 2024. Retrieved 27 December 2024.
  3. ^ https://github.com/premake/premake-core/blob/master/LICENSE.txt. Retrieved 25 September 2016. {{cite web}}: Missing or empty |title= (help)
  4. ^ https://api.github.com/repos/premake/premake-core. Retrieved 15 February 2022. {{cite web}}: Missing or empty |title= (help)
  5. ^ Premake Freecode entry
  6. ^ "Who Uses Premake". GitHub.
  7. ^ Bullet 2.79 release
  8. ^ Building project
  9. ^ "Building with Premake". Archived from the original on 2011-11-02. Retrieved 2011-07-04.
  10. ^ Building OpenJAUS
[edit]