premake4 man page

premake4 — cross-platform build configuration tool

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

--cc=VALUE

Choose a C/C++ compiler set; one of:

gccGNU GCC (gcc/g++)
owOpenWatcom
--dotnet=VALUE

Choose a .NET compiler set; one of:

msnetMicrosoft .NET (csc)
monoNovell Mono (mcs)
pnetPortable.NET (cscc)
--file=FILE
Read FILE as a Premake script; default is 'premake4.lua'.
--help
Display usage information.
--os=VALUE

Generate files for a different operating system; one of:

bsdOpenBSD, NetBSD, or FreeBSD
linuxLinux
macosxApple Mac OS X
solarisSolaris
windowsMicrosoft Windows
--platform=VALUE

Add target architecture (if supported by action); one of:

x3232-bit
x6464-bit
universalMac OS X Universal, 32- and 64-bit
universal32Mac OS X Universal, 32-bit only
universal64Mac OS X Universal, 64-bit only
ps3Playstation 3 (experimental)
xbox360Xbox 360 (experimental)
--scripts=path
Search for additional scripts on the given path.
--version
Display version information.

Actions

cleanRemove all binaries and generated files
codeblocksGenerate Code::Blocks project files
codeliteGenerate CodeLite project files
gmakeGenerate GNU makefiles for POSIX, MinGW, and Cygwin
vs2002Generate Microsoft Visual Studio 2002 project files
vs2003Generate Microsoft Visual Studio 2003 project files
vs2005Generate Microsoft Visual Studio 2005 project files
vs2008Generate Microsoft Visual Studio 2008 project files
vs2010Generate Visual Studio 2010 project files (experimental)
xcode3Generate Apple Xcode 3 project files (experimental)

See Also

For information on how to write premake4 script files, see http://industriousone.com/premake

Author

premake4 was written by Jason Perkins.

This man page was written for the Fedora Project by Joachim de Groot <jdegroot@web.de>.

Info

November 27, 2010