| 1 |
.\"buildtool(1) man page |
| 2 |
.\"put together by Gregory Casamento <[email protected]> |
| 3 |
.\"Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 |
.\" |
| 5 |
.\"Process this file with |
| 6 |
.\"groff -man -Tascii buildtool.1 |
| 7 |
.\" |
| 8 |
.TH BUILDTOOL 1 "June 2024" GNUstep "GNUstep System Manual" |
| 9 |
.SH NAME |
| 10 |
buildtool \- build macOS projects that use xcode |
| 11 |
.SH SYNOPSIS |
| 12 |
.B buildtool |
| 13 |
.RB [clean | generate |
| 14 |
.RB [makefile|cmake|projectbuilder|projectcenter] |
| 15 |
.RB | build] |
| 16 |
.RB [filename] |
| 17 |
.P |
| 18 |
.SH DESCRIPTION |
| 19 |
The |
| 20 |
.B buildtool |
| 21 |
command allows you to build a project that was originally created with Xcode on macOS. |
| 22 |
.PP |
| 23 |
You can specify the project name if you need to (for example, if there are several .xcodeproj |
| 24 |
files in one directory) if you don't it will use the first one it finds and build with that. |
| 25 |
.I filenames |
| 26 |
The filename for the .xcodeproj is assumed to be in the current working directory. |
| 27 |
.PP |
| 28 |
By default, |
| 29 |
.B buildtool |
| 30 |
will open |
| 31 |
.I filename |
| 32 |
in the current working directory or, if no filename is specified, will build using the |
| 33 |
first one it finds. |
| 34 |
.PP |
| 35 |
.SH OPTIONS |
| 36 |
.IP "build" |
| 37 |
build the .xcodeproj file in the current directory |
| 38 |
.I filename |
| 39 |
if optionally specified |
| 40 |
.IP "clean" |
| 41 |
clean the current project directory |
| 42 |
.IP "generate" |
| 43 |
generate one of the following... cmake, makefile, projectbuilder, projectcenter types of files. |
| 44 |
if none is specified it will assume you are trying to generate a makefile. |
| 45 |
.PP |
| 46 |
.SH EXAMPLES |
| 47 |
Build the project in the current working directory |
| 48 |
.PP |
| 49 |
.I buildtool |
| 50 |
.PP |
| 51 |
.I buildtool build |
| 52 |
.PP |
| 53 |
.I buildtool build |
| 54 |
.B filename.xcodeproj |
| 55 |
.PP |
| 56 |
To clean the project directory |
| 57 |
.PP |
| 58 |
.I buildtool clean |
| 59 |
.PP |
| 60 |
To generate a gnumakefile, cmake, etc... |
| 61 |
.PP |
| 62 |
.I buildtool generate |
| 63 |
.PP |
| 64 |
You can optionally use any of the types mentioned above after the generate option. |
| 65 |
.SH BUGS |
| 66 |
.B buildtool |
| 67 |
can currently open most project types. If you find any that it can't handle or get any |
| 68 |
build errors that are specific to buildtool, then please submit bugs to the tracker on |
| 69 |
github for libs-xcode. |
| 70 |
.P |
| 71 |
.SH HISTORY |
| 72 |
.B buildtool |
| 73 |
was written in September of 2012 and is regularly updated. |
| 74 |
.P |
| 75 |
This manual page was first written in June 2023 |
| 76 |
.P |
| 77 |
.SH AUTHORS |
| 78 |
.B buildtool |
| 79 |
was written by Gregory Casamento <[email protected]>. |
| 80 |
.P |
| 81 |
This man page was written by Gregory Casamento <[email protected]> |