premake

premake
Original author(s) Jason Perkins
Stable release 4.3 / November 16, 2010
Preview release 5.0-alpha1[1] / February 23, 2015
Written in C, Lua
Operating system Cross-platform
Type build automation tool
License New BSD License
Website industriousone.com/premake

In software development, premake is an open source utility for automatically building configuration from source code.

Features

Some of the features of the system are:[2]

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 applications

See also

References

External links