Skip to content

premake/premake-core

 
 

Repository files navigation

Premake

Premake 6

The Premake that comes after Premake 5.

☢️ This is a work in progress of a major release. This is (probably) not the release you are looking for. ☢️

workspace('MyWorkspace', function ()
    configurations { 'Debug', 'Release' }

    project('MyProject', function ()
        kind 'ConsoleApp'
        files { '**.h', '**.cpp' }

        when({ 'configurations:Debug' }, function ()
            defines { 'DEBUG' }
            symbols 'On'
        end)

        when({ 'configurations:Release' }, function ()
             defines { 'NDEBUG' }
             optimize 'On'
        end)
    end)
end)

FAQs

What’s going on here?

We're building the next major release of Premake around an entirely new state storage and query system, and hitting some long overdue cleanup along the way.

See Changes Since v5 for a list of the improvements and major breaking changes made so far. See website/ for the latest documentation.

Does this mean I'm going to have to rewrite all of my scripts?

Yes, we are most definitely breaking stuff for the greater good. There are plans to provide a compatibility module to assist with the transition.

I need this now, how can I make it go faster?

I hear ya. Boy, do I ever. Contributions here are welcome and appreciated, especially bug fixes and constructive feedback. But please sync up with me to make sure we’re on the same page before setting off to tackle anything big. Otherwise, the best way to speed things up is to contribute to our OpenCollective. Every hour I don’t have to spend hunting down client work is an hour I can spend improving Premake here.

Sponsors

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. 🎉

Want to join them? Learn more here. Use Premake at work? Ask your manager or marketing team about contributing too; your company logo will appear on our website and README, as well as all of our release pages.

Organizations

Individuals

Contributing

We love getting pull requests 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.

A great big thank you to all of you who have already contributed your time and know-how!

Stay in touch

License

BSD 3-Clause

The Lua language and runtime library is © TeCGraf, PUC-Rio. See their website at http://www.lua.org/