Download

The latest version is 3.6.

Premake 3.6 (Windows) premake-win32-3.6.zip
Premake 3.6 (MacOSX) premake-osx-3.6.tar.gz
Premake 3.6 (Linux) premake-linux-3.6.tar.gz
Premake 3.6 (Ubuntu) Package repository courtesy of Ryan Mulder
Premake 3.6 (Source) premake-src-3.6.zip

A complete list of past releases is available from the SourceForge file list.

Binaries simply need to be unpacked and placed somewhere on the system search path (or any other convenient location). The source code package come with build scripts for all of the supported C++ toolsets (GNU make, MS Visual C++, etc.). Premake is self-contained and should build and run pretty much everywhere — of course, let me know if you have problems.

Once Premake is installed, see the Quick Start to learn how to generate project files, or Writing Premake Scripts to start adding Premake support to your own projects.

Subversion (SVN)

The very latest version of the Premake source code is available in the SourceForce Subversion repository. It may have new features and bug fixes, and it may also have new bugs. The repository URL is:

  https://premake.svn.sourceforge.net/svnroot/premake/branches/3.x-dev

Premake is self-hosting; you will need a copy of Premake installed in order to build the source code from the repository. Get it, and then use one of the following commands to create the project files:

$ premake --target gnu     # to create Makefiles
$ premake --target vs2005  # Visual Studio 2005
$ premake --target vs2003  # Visual Studio 2003
$ premake --target vs2002  # Visual Studio 2002
$ premake --target vs6     # Visual C++ 6
$ premake --target cb-gcc  # Code::Blocks with GCC

You now have a makefile/solution/workspace for your toolset; build as usual.

Submitted by Kip (not verified) on Fri, 2007-05-11 20:46.

The 3.3 OS X binary is not a universal binary, but compiled only for i386 target.

Just add -arch ppc -arch i386 to build and link flags to fix.

Kip

Submitted by jason on Sat, 2007-05-12 20:52.

Those flags conflict with the -M flag, which is needed to generate the dependencies. Not sure how to work around that yet (suggestions welcome). I have modified the page to indicate that the binary is i386 only.

search

Google
This Site Web

support this project!

I rely on donations to purchase all of the tools supported by Premake. Can you help out?

Support This Project

sponsored by

powered by

SourceForge.net
Drupal