manpagez: man pages & more
man pbxbuild(1)
Home | html | info | man
pbxbuild(1)							   pbxbuild(1)




NAME

       pbxbuild - build Project Builder projects


SYNOPSIS

       pbxbuild	 [  -activetarget ] [ -alltargets ] [ -target <targetname> ] [
       -activebuildstyle ] [ -buildstyle <buildstylename>" ] [ <buildaction> ]
       [ <variable>=<value> ] [ -help ]
       pbxbuild -list


DESCRIPTION

       The  pbxbuild  command  builds  a target contained in a Project Builder
       project.	 Run pbxbuild from the directory containing your project (i.e.
       the <projectName>.pbproj directory).

       By  default,  pbxbuild  builds the first target listed in your project,
       with no buildstyle.  Use the Project Builder IDE to change the order of
       the targets in your project.  The order of the targets is a property of
       the project and, as such, is the same for all  users  of	 the  project.
       The  active  target  and	 active buildstyle properties are set for each
       user of the project and, as such, can vary from user to user.

       These are the options for pbxbuild

       -activetarget
	      Builds the user's active target.

       -alltargets
	      Build all the targets, in order, in the project.

       -target <targetname>
	      Build the target specified by <targetname>.

       -activebuildstyle
	      Use the user's active buildstyle when building the target.

       -buildstyle <buildstylename>
	      Use the buildstyle specified by <buildstylename>	when  building
	      the target.

       <buildaction>
	      Specify  a  build action to perform on the target. Build actions
	      are:

	      build  Build the target in the builds root  (SYMROOT).  This  is
		     the default build action.

	      installsrc
		     Copy  the	source of the project to the source root (SRC-
		     ROOT).

	      export Generate build files and a pbxbuild.sh script  which  can
		     build the specified target.

	      install
		     Build the target and install it into the target's instal-
		     lation directory in the distribution root (DSTROOT).

	      clean  Remove build products and	intermediate  files  from  the
		     builds root (SYMROOT).

       <variable> = <value>
	      Set the build variable to <variable> to <value>.

       -list  Lists the targets in the project. Does not initiate a build.



EXAMPLES

       pbxbuild clean install

	      Cleans  the  build  directory; then builds and install the first
	      target in the project.

       pbxbuild	  -target   MyTarget	OBJROOT=/Build/MyProj/Obj.root	  SYM-
       ROOT=/Build/MyProj/Sym.root

	      Builds  the  target MyTarget putting object (intermediate) files
	      in one directory and the products of the build in another direc-
	      tory.







Apple Computer, Inc.		February, 2001			   pbxbuild(1)

Mac OS X 10.3 - Generated Fri Feb 8 07:54:06 CST 2008
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.