Premake

Premake
Original author(s) Jason Perkins
Stable release
4.4-beta5[1] / November 21, 2013 (2013-11-21)
Preview release
5.0-alpha3[2] / May 5, 2015 (2015-05-05)
Repository github.com/premake/premake-core
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

This article is issued from Wikipedia - version of the 9/29/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.