Premake

Features

Some of Premake's features are:[3]

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


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.