1PREMAKE4(1) General Commands Manual PREMAKE4(1)
2
3
4
6 premake4 - cross-platform build configuration tool
7
8
9
11 premake4 [options] action [arguments]
12
13
14
16 premake4 is a build configuration tool that can generate project files
17 for multiple build environments on multiple platforms.
18
19
20
22 --cc=VALUE
23 Choose a C/C++ compiler set; one of:
24
25 gcc GNU GCC (gcc/g++)
26 ow OpenWatcom
27
28
29
30 --dotnet=VALUE
31 Choose a .NET compiler set; one of:
32
33 msnet Microsoft .NET (csc)
34 mono Novell Mono (mcs)
35 pnet Portable.NET (cscc)
36
37
38
39 --file=FILE
40 Read FILE as a Premake script; default is 'premake4.lua'.
41
42
43
44 --help Display usage information.
45
46
47
48 --os=VALUE
49 Generate files for a different operating system; one of:
50
51 bsd OpenBSD, NetBSD, or FreeBSD
52 linux Linux
53 macosx Apple Mac OS X
54 solaris Solaris
55 windows Microsoft Windows
56
57
58
59 --platform=VALUE
60 Add target architecture (if supported by action); one of:
61
62 x32 32-bit
63 x64 64-bit
64 universal Mac OS X Universal, 32- and 64-bit
65 universal32 Mac OS X Universal, 32-bit only
66
67 universal64 Mac OS X Universal, 64-bit only
68 ps3 Playstation 3 (experimental)
69 xbox360 Xbox 360 (experimental)
70
71
72
73 --scripts=path
74 Search for additional scripts on the given path.
75
76
77 --version
78 Display version information.
79
80
81
83 clean Remove all binaries and generated files
84 codeblocks Generate Code::Blocks project files
85 codelite Generate CodeLite project files
86 gmake Generate GNU makefiles for POSIX, MinGW, and Cygwin
87 vs2002 Generate Microsoft Visual Studio 2002 project files
88 vs2003 Generate Microsoft Visual Studio 2003 project files
89 vs2005 Generate Microsoft Visual Studio 2005 project files
90 vs2008 Generate Microsoft Visual Studio 2008 project files
91 vs2010 Generate Visual Studio 2010 project files (experimental)
92 xcode3 Generate Apple Xcode 3 project files (experimental)
93
94
96 For information on how to write premake4 script files, see
97 http://industriousone.com/premake
98
99
101 premake4 was written by Jason Perkins.
102
103 This man page was written for the Fedora Project by Joachim de Groot
104 <jdegroot@web.de>.
105
106
107
108 November 27, 2010 PREMAKE4(1)