Scroll to navigation

PREMAKE4(1) General Commands Manual PREMAKE4(1)

NAME

premake4 - cross-platform build script generator

SYNOPSIS

premake4 [options] action [arguments]

DESCRIPTION

premake4 is a build configuration tool that can generate project files for multiple build environments on multiple platforms.

OPTIONS

Choose a C/C++ compiler set; one of:
GNU GCC (gcc/g++)
OpenWatcom

Choose a .NET compiler set; one of:
Microsoft .NET (csc)
Novell Mono (mcs)
Portable.NET (cscc)

Read FILE as a Premake script; default is 'premake4.lua'
Display this information
Generate files for a different operating system; one of:
OpenBSD, NetBSD, or FreeBSD
Linux
Apple Mac OS X
Solaris
Microsoft Windows

Add target architecture (if supported by action); one of:
32-bit
64-bit
Mac OS X Universal, 32- and 64-bit
Mac OS X Universal, 32-bit only
Mac OS X Universal, 64-bit only
Playstation 3 (experimental)
Xbox 360 (experimental)

Search for additional scripts on the given path
Display version information

ACTIONS

Remove all binaries and generated files
Generate Code::Blocks project files
Generate CodeLite project files
Generate GNU makefiles for POSIX, MinGW, and Cygwin
Generate Microsoft Visual Studio 2002 project files
Generate Microsoft Visual Studio 2003 project files
Generate Microsoft Visual Studio 2005 project files
Generate Microsoft Visual Studio 2008 project files
Generate Visual Studio 2010 project files (experimental)
Generate Apple Xcode 3 project files (experimental)

SEE ALSO

For additional information see http://industriousone.com/premake.

AUTHOR

Jason Perkins and the Premake Project

December 2012 4.3