summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-12 11:58:49 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-12 11:58:49 (GMT)
commit62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa (patch)
tree633bc514ecb582b328f0bb9a9ae0f9a8a0f8f133 /doc
parent33f2e8d10b3f0334ab37ffb72bc4a282221dade6 (diff)
downloadSCons-62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa.zip
SCons-62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa.tar.gz
SCons-62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa.tar.bz2
Add Framework support for Mac OS X. (Greg Noel) Document it. (Gary Oberbrunner)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.159
1 files changed, 57 insertions, 2 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 76fc705..6e690a2 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -5711,11 +5711,66 @@ The default list is:
A function that converts a file name into a File instance relative to the
target being built.
+.IP FRAMEWORKPATH
+On Mac OS X with gcc,
+a list containing the paths to search for frameworks.
+Used by the compiler to find framework-style includes like
+#include <Fmwk/Header.h>.
+Used by the linker to find user-specified frameworks when linking (see
+$FRAMEWORKS).
+For example:
+.ES
+ env.AppendUnique(FRAMEWORKPATH='#myframeworkdir')
+.EE
+.IP
+will add
+.ES
+ ... -Fmyframeworkdir
+.EE
+.IP
+to the compiler and linker command lines.
+
+.IP _FRAMEWORKPATH
+On Mac OS X with gcc, an automatically-generated construction variable
+containing the linker command-line options corresponding to FRAMEWORKPATH.
+
+.IP FRAMEWORKPATHPREFIX
+On Mac OS X with gcc, the prefix to be used for the FRAMEWORKPATH entries.
+(see $FRAMEWORKPATH).
+The default value is
+.BR -F .
+
+.IP FRAMEWORKPREFIX
+On Mac OS X with gcc,
+the prefix to be used for linking in frameworks
+(see $FRAMEWORKS).
+The default value is
+.BR -framework .
+
+.IP FRAMEWORKS
+On Mac OS X with gcc, a list of the framework names to be linked into a
+program or shared library or bundle.
+The default value is the empty list.
+For example:
+.ES
+ env.AppendUnique(FRAMEWORKS=Split('System Cocoa SystemConfiguration'))
+.EE
+
+.IP _FRAMEWORKS
+On Mac OS X with gcc,
+an automatically-generated construction variable
+containing the linker command-line options
+for linking with FRAMEWORKS.
+
.IP FRAMEWORKSFLAGS
-On Mac OS X,
-frameworks options to be added at
+On Mac OS X with gcc,
+general user-supplied frameworks options to be added at
the end of a command
line building a loadable module.
+(This has been largely superceded by
+the $FRAMEWORKPATH, $FRAMEWORKPATHPREFIX,
+$FRAMWORKPREFIX and $FRAMEWORKS variables
+described above.)
.IP GS
The Ghostscript program used to convert PostScript to PDF files.