| [24387] | 1 | <p align="center">
|
|---|
| 2 | <a href="https://premake.github.io/" target="blank"><img src="https://premake.github.io/premake-logo.png" height="200" width="200" alt="Premake" /></a>
|
|---|
| 3 | </p>
|
|---|
| [20366] | 4 |
|
|---|
| [24387] | 5 | <p align="center">
|
|---|
| 6 | <img src="https://img.shields.io/github/release/premake/premake-core/all.svg" alt="Latest release" />
|
|---|
| 7 | <img src="https://img.shields.io/github/release-date-pre/premake/premake-core.svg" alt="Release date" />
|
|---|
| 8 | <img src="https://img.shields.io/github/commits-since/premake/premake-core/v5.0.0-alpha15.svg" alt="Commits" />
|
|---|
| 9 | <a href="https://opensource.org/licenses/BSD-3-Clause" target="_blank">
|
|---|
| 10 | <img src="https://img.shields.io/github/license/premake/premake-core" alt="BSD 3-Clause" />
|
|---|
| 11 | </a>
|
|---|
| 12 | <br/>
|
|---|
| 13 | <a href="https://travis-ci.org/premake/premake-core" target="_blank">
|
|---|
| 14 | <img src="https://img.shields.io/travis/premake/premake-core/master.svg?label=linux" alt="Linux" />
|
|---|
| 15 | </a>
|
|---|
| 16 | <a href="https://ci.appveyor.com/project/PremakeOrganization/premake-core" target="_blank">
|
|---|
| 17 | <img src="https://img.shields.io/appveyor/ci/PremakeOrganization/premake-core?label=windows" alt="Windows" />
|
|---|
| 18 | </a>
|
|---|
| 19 | <a href="https://github.com/premake/premake-core/graphs/contributors" target="_blank">
|
|---|
| 20 | <img src="https://img.shields.io/github/contributors/premake/premake-core?label=code+contributors" alt="Contributors" />
|
|---|
| 21 | </a>
|
|---|
| 22 | <a href="https://opencollective.com/premake" _target="blank">
|
|---|
| 23 | <img src="https://opencollective.com/premake/all/badge.svg?label=financial+contributors" alt="Contributors" />
|
|---|
| 24 | </a>
|
|---|
| 25 | <a href="https://twitter.com/premakeapp" target="_blank">
|
|---|
| 26 | <img src="https://img.shields.io/twitter/follow/premakeapp.svg?style=social&label=Follow">
|
|---|
| 27 | </a>
|
|---|
| 28 | </p>
|
|---|
| [20366] | 29 |
|
|---|
| 30 |
|
|---|
| [24387] | 31 | # Welcome to Premake
|
|---|
| [20366] | 32 |
|
|---|
| [24387] | 33 | Premake is a command line utility which reads a scripted definition of a software project, then uses it to perform build configuration tasks or generate project files for toolsets like Visual Studio, Xcode, and GNU Make. Premake's scripts are little [Lua](http://www.lua.org/) programs, so the sky's the limit!
|
|---|
| [20366] | 34 |
|
|---|
| [24387] | 35 | ```lua
|
|---|
| 36 | workspace "MyWorkspace"
|
|---|
| 37 | configurations { "Debug", "Release" }
|
|---|
| [20366] | 38 |
|
|---|
| [24387] | 39 | project "MyProject"
|
|---|
| 40 | kind "ConsoleApp"
|
|---|
| 41 | language "C++"
|
|---|
| 42 | files { "**.h", "**.cpp" }
|
|---|
| [20366] | 43 |
|
|---|
| [24387] | 44 | filter { "configurations:Debug" }
|
|---|
| 45 | defines { "DEBUG" }
|
|---|
| 46 | symbols "On"
|
|---|
| [20366] | 47 |
|
|---|
| [24387] | 48 | filter { "configurations:Release" }
|
|---|
| 49 | defines { "NDEBUG" }
|
|---|
| 50 | optimize "On"
|
|---|
| 51 | ```
|
|---|
| [20366] | 52 |
|
|---|
| [24387] | 53 | ## Getting Started
|
|---|
| [20366] | 54 |
|
|---|
| [24387] | 55 | * [Documentation](https://github.com/premake/premake-core/wiki)
|
|---|
| 56 | * [Contributing](https://github.com/premake/premake-core/blob/master/CONTRIBUTING.md)
|
|---|
| 57 | * [Issue Tracker](https://github.com/premake/premake-core/issues)
|
|---|
| [20366] | 58 |
|
|---|
| [24387] | 59 | ## Sponsors
|
|---|
| [20366] | 60 |
|
|---|
| [24387] | 61 | Premake is a BSD-licensed open source project. Our many thanks to these fine people who help us spend more time adding features and supporting the community. :tada:
|
|---|
| [20366] | 62 |
|
|---|
| [24387] | 63 | Want to join them? [Learn more here](https://opencollective.com/premake). Use Premake at work? Ask your manager or marketing team about contributing too; your company logo will appear on our [website](https://premake.github.io/) and README, as well as all of our [release pages](https://github.com/premake/premake-core/releases).
|
|---|
| [20366] | 64 |
|
|---|
| [24387] | 65 | ### Organizations
|
|---|
| [20366] | 66 |
|
|---|
| [24387] | 67 | <a href="https://opencollective.com/premake#sponsors" target="_blank"><img src="https://opencollective.com/premake/sponsors.svg?width=890&avatarHeight=92&button=false"/></a>
|
|---|
| 68 |
|
|---|
| 69 | ### Individuals
|
|---|
| 70 |
|
|---|
| 71 | <a href="https://opencollective.com/premake#backers" target="_blank"><img src="https://opencollective.com/premake/backers.svg?width=890&button=false"/></a>
|
|---|
| 72 |
|
|---|
| 73 | ## Contributing
|
|---|
| 74 |
|
|---|
| 75 | We love getting [pull requests](https://www.quora.com/GitHub-What-is-a-pull-request) and rely heavily on the contributions of our community to keep Premake healthy and growing. If you're new to the project, [our Contributing Guide is here](https://github.com/premake/premake-core/blob/master/CONTRIBUTING.md).
|
|---|
| 76 |
|
|---|
| 77 | A great big thank you to all of you who have already contributed your time and know-how!
|
|---|
| 78 |
|
|---|
| 79 | <a href="https://github.com/premake/premake-core/graphs/contributors"><img src="https://opencollective.com/premake/contributors.svg?width=890&avatarHeight=32&button=false" /></a>
|
|---|
| 80 |
|
|---|
| 81 | ## Stay in touch
|
|---|
| 82 |
|
|---|
| 83 | * Website - https://premake.github.io
|
|---|
| 84 | * Twitter - [@premakeapp](https://twitter.com/premakeapp)
|
|---|
| 85 |
|
|---|
| 86 | ## License
|
|---|
| 87 |
|
|---|
| 88 | [BSD 3-Clause](https://opensource.org/licenses/BSD-3-Clause)
|
|---|
| 89 |
|
|---|
| [20366] | 90 | The Lua language and runtime library is © TeCGraf, PUC-Rio.
|
|---|
| 91 | See their website at http://www.lua.org/
|
|---|