1PREMAKE(1) PREMAKE(1)
2
3
4
6 Premake - A build script generator.
7
9 premake --target <str>
10
12 premake allows you to manage your project configuration in one place
13 and still support those pesky IDE-addicted Windows coders and/or cranky
14 Linux command-line junkies. It allows you to generate project files for
15 tools that you do not own. It saves the time that would otherwise be
16 spent manually keeping several different toolsets in sync. And it pro‐
17 vides an easy upgrade path as new versions of your favorite tools are
18 released.
19
21 --file name
22 Process the specified premake script file. If not specified,
23 "premake.lua" is assumed.
24
25 --clean Remove all binaries and build scripts.
26
27 --cc name
28 Choose a C/C++ compiler, if supported by target; one of:
29 gcc GNU gcc compiler
30 dmc Digital Mars C/C+ compiler (experimental)
31
32 --dotnet name
33 Choose a .NET compiler set, if supported by target; one of:
34 ms Microsoft (csc)
35 mono Mono (mcs)
36 mono2 Mono .NET 2.0 (gmcs)
37 pnet Portable.NET (cscc)
38
39 --os name
40 Generate files for different operating system; one of:
41 bsd OpenBSD, NetBSD, or FreeBSD
42 linux Linux
43 macosx MacOS X
44 windows Microsoft Windows
45
46 --target name
47 Generate input files for the specified toolset; one of:
48 cb-gcc Code::Blocks Studio with GCC
49 gnu GNU Makefile for POSIX, MinGW, and Cygwin
50 monodev MonoDevelop
51 sharpdev ICSharpCode SharpDevelop
52 vs6 Microsoft Visual Studio 6
53 vs2002 Microsoft Visual Studio 2002
54 vs2003 Microsoft Visual Studio 2003
55 vs2005 Microsoft Visual Studio 2005 (includes Express
56 editions)
57
58 --version
59 Display version information.
60
61 --help Display this information.
62
64 Generate Makefiles for gcc.
65 premake --target gnu
66
68 Jason Perkins and the Premake Project
69
71 2008 - Initial version
72
73
74
75
76Ryan Mulder 17 April 2008 PREMAKE(1)