请输入您要查询的百科知识:

 

词条 Premake
释义

  1. Features

  2. Sample script

  3. Notable uses

  4. See also

  5. References

  6. External links

{{Infobox software
| name = Premake
| author = Jason Perkins
| developer =
| latest release version = 4.3[1]
| latest release date = {{release date and age|2010|11|16}}
| latest preview version = 5.0-alpha11[2]
| latest preview date = {{release date and age|2017|01|13}}
| programming language = C, Lua
| license = New BSD License
| repo = {{ubl|{{URL|https://github.com/premake/premake-4.x}}|{{URL|https://github.com/premake/premake-core}}}}
| website = {{URL|https://premake.github.io/}}
| genre = build automation tool
}}

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, :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"

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

There are a number of notable uses including:[4]

  • 0 A.D.[4]
  • Box2D[4]
  • Bullet[5]
  • GpuCV[6]
  • Open Dynamics Engine[7]
  • OpenJAUS[8]
  • VDrift[4]

See also

  • {{section link|List of build automation software|Build script generation tools}}
  • configure script
  • CMake
  • GYP

References

1. ^{{cite web |title=Releases |url=https://github.com/premake/premake-4.x/releases}}
2. ^https://github.com/premake/premake-core/releases/tag/v5.0.0-alpha11
3. ^Premake Freecode entry
4. ^{{cite web |title=Who Uses Premake |url=https://github.com/premake/premake-core/wiki/Who-Uses-Premake}}
5. ^Bullet 2.79 release
6. ^Building project
7. ^Building with Premake
8. ^Building OpenJAUS

External links

  • {{Official website|https://premake.github.io/}}
  • {{SourceForge|premake|Premake}}
  • {{Github|premake/premake-core|Premake}}
  • {{Openhub|premake|Premake}}
  • {{Freecode|premake|Premake}}
{{Install-software-stub}}

6 : Build automation|Compiling tools|Free software programmed in C|Lua-scriptable software|Software using the BSD license|Unix package management-related software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/28 11:16:57