Premake

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Premake
Original authorJason Perkins
Repository
Written inC, Lua
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Typebuild automation tool

    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 | edit source]

    Notable features include:[1]

    Examples

    [edit | edit source]

    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 | edit source]

    Projects that use Premake include: 0 A.D., Bullet, Open Dynamics Engine, VDrift, and wxFormBuilder,[2]

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]