Next: , Previous: objc.make, Up: objc.make



1.4.11.1 Project Variables

This project type is no different to most project types, and uses the variables listed as standard project variables, as well as many of those described for library project types.

— Objective-C program project: OBJC_PROGRAM_NAME

OBJC_PROGRAM_NAME is the list of names of Objective-C programs that are to be built; each name should be unique as it is the name of the executable file that will be generated.

— Objective-C program project: OBJC_LIBS

xxx_OBJC_LIBS is the list of additional libraries that the linker will use when linking to create the xxx Objective-C program executable file. These libraries are specific to the xxx Objective-C program, see ADDITIONAL_OBJC_LIBS, to see how to specify additional global libraries. These libraries are placed before all of the Objective-C Runtime and system libraries, and before the global libraries specified with ADDITIONAL_OBJC_LIBS, so that they will be searched first when linking. The additional libraries should be specified as -l flags to the linker as the following example illustrates. Replace the xxx with the name of the program as listed by the OBJC_PROGRAM_NAME variable.