premake.1 2.2 KB

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