Software:Premake
From HandWiki
Original author(s) | Jason Perkins |
---|---|
Stable release | 4.3[1]
/ November 16, 2010 |
Preview release | 5.0-beta2[2]
/ September 4, 2022 |
Repository | |
Written in | C, Lua |
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 Premake's features are:[3]
- It supports the C, C++, and C# programming languages.
- Its syntax is simple.
- It can generate automatic build files for Visual Studio, GNU Make, Xcode, Code, CodeLite, SharpDevelop, and MonoDevelop.
- Using just one configuration set of files, different systems[clarification needed] 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" symbols "On" defines { "_DEBUG" } configuration "Release" flags { "Optimize" } defines { "NDEBUG" }
Notable uses
Projects that use Premake include:[4]
See also
References
- ↑ "Releases". https://github.com/premake/premake-4.x/releases.
- ↑ "Release Premake 5.0-beta2 · premake/Premake-core". https://github.com/premake/premake-core/releases/tag/v5.0.0-beta2.
- ↑ Premake Freecode entry
- ↑ 4.0 4.1 4.2 4.3 "Who Uses Premake". https://github.com/premake/premake-core/wiki/Who-Uses-Premake.
- ↑ Bullet 2.79 release
- ↑ Building project
- ↑ "Building with Premake". http://opende.sourceforge.net/wiki/index.php/Manual_(Install_and_Use)#Building_with_Premake.
- ↑ Building OpenJAUS
External links
Original source: https://en.wikipedia.org/wiki/Premake.
Read more |