Premake
Appearance
Original author(s) | Jason Perkins |
---|---|
Stable release | 4.3
/ 16 November 2010[1] |
Preview release | 5.0.0-beta3
/ 12 November 2024[2] |
Repository | |
Written in | C, Lua |
Type | build automation tool |
License | 3-clause BSD License[3] |
Website | https://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]
- Supports building a codebase written in C, C++, and C#
- Support for generating build configuration files for Visual Studio, GNU Make, Xcode, Code::Blocks, CodeLite, SharpDevelop, and MonoDevelop
- Can build on different environments using the same premake configuration files[clarification needed]
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]- ^ "4.3". 16 November 2010. Retrieved 27 December 2024.
- ^ "Premake 5.0-beta3". 12 November 2024. Retrieved 27 December 2024.
- ^ https://github.com/premake/premake-core/blob/master/LICENSE.txt. Retrieved 25 September 2016.
{{cite web}}
: Missing or empty|title=
(help) - ^ https://api.github.com/repos/premake/premake-core. Retrieved 15 February 2022.
{{cite web}}
: Missing or empty|title=
(help) - ^ Premake Freecode entry
- ^ "Who Uses Premake". GitHub.
- ^ Bullet 2.79 release
- ^ Building project
- ^ "Building with Premake". Archived from the original on 2011-11-02. Retrieved 2011-07-04.
- ^ Building OpenJAUS
External links
[edit]