Premake

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
Premake
Original author(s) Jason Perkins
Stable release 4.4-beta5[1] / November 21, 2013; 11 years ago (2013-11-21)
Preview release 5.0-alpha3[2] / May 5, 2015; 9 years ago (2015-05-05)
Written in C, Lua
Operating system Cross-platform
Type build automation tool
License New BSD License
Website premake.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"
      flags { "Symbols" }
      defines { "_DEBUG" }

   configuration "Release"
      flags { "Optimize" }
      defines { "NDEBUG" }

Notable uses

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

See also

References

<templatestyles src="Reflist/styles.css" />

Cite error: Invalid <references> tag; parameter "group" is allowed only.

Use <references />, or <references group="..." />

External links

<templatestyles src="Asbox/styles.css"></templatestyles>

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. https://github.com/premake/premake-core/commit/c949709772b69e54af569362971138c0be107567
  3. Premake Freecode entry
  4. 4.0 4.1 4.2 4.3 Lua error in package.lua at line 80: module 'strict' not found.
  5. Bullet 2.79 release
  6. Building project
  7. Building with Premake
  8. Building OpenJAUS