Jump to content

Premake: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.3) (Whoop whoop pull up - 12943
updated preview version to latest
Line 5: Line 5:
| latest release version = 4.3<ref>{{cite web |title=Releases |website=[[GitHub]] |url=https://github.com/premake/premake-4.x/releases}}</ref>
| latest release version = 4.3<ref>{{cite web |title=Releases |website=[[GitHub]] |url=https://github.com/premake/premake-4.x/releases}}</ref>
| latest release date = {{release date and age|2010|11|16}}
| latest release date = {{release date and age|2010|11|16}}
| latest preview version = 5.0-alpha14<ref>{{Cite web|url=https://github.com/premake/premake-core/releases/tag/v5.0.0-alpha14|title = Release Premake 5.0 alpha 14 · premake/Premake-core| website=[[GitHub]] }}</ref>
| latest preview version = 5.0-beta2<ref>{{Cite web|url=https://github.com/premake/premake-core/releases/tag/v5.0.0-beta2|title = Release Premake 5.0-beta2 · premake/Premake-core| website=[[GitHub]] }}</ref>
| latest preview date = {{release date and age|2019|05|05}}
| latest preview date = {{release date and age|2022|09|04}}
| programming language = [[C (programming language)|C]], [[Lua (programming language)|Lua]]
| programming language = [[C (programming language)|C]], [[Lua (programming language)|Lua]]
| license = [[New BSD License]]
| license = [[New BSD License]]

Revision as of 22:15, 11 September 2023

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; 2 years 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

  1. ^ "Releases". GitHub.
  2. ^ "Release Premake 5.0-beta2 · premake/Premake-core". GitHub.
  3. ^ Premake Freecode entry
  4. ^ a b c d "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