Premake
From Infogalactic: the planetary knowledge core
Original author(s) | Jason Perkins |
---|---|
Stable release | 4.4-beta5[1] / November 21, 2013 |
Preview release | 5.0-alpha3[2] / May 5, 2015 |
Written in | C, Lua |
Operating system | Cross-platform |
Type | build automation tool |
License | New BSD License |
Website | premake |
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]
- It supports C, C++, and C# languages source code.
- It has a simple syntax
- It can generate automatic build files for Visual Studio, GNU Make, Xcode, Code::Blocks, CodeLite, SharpDevelop, and MonoDevelop.
- Using just one configuration set of files, different systems can be built.
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.
<references />
, or <references group="..." />
External links
- Official website
- Premake on SourceForge.net
- Premake on GitHub
- Premake at Open Hub
- Premake at Freecode
<templatestyles src="Asbox/styles.css"></templatestyles>
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ https://github.com/premake/premake-core/commit/c949709772b69e54af569362971138c0be107567
- ↑ Premake Freecode entry
- ↑ 4.0 4.1 4.2 4.3 Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Bullet 2.79 release
- ↑ Building project
- ↑ Building with Premake
- ↑ Building OpenJAUS