summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-02-28 00:05:55 (GMT)
committerSteven Knight <knight@baldmt.com>2005-02-28 00:05:55 (GMT)
commit69e1562853db2f1836a0942e1cc01aeb87858a9d (patch)
treec18f80c3df952d4caf5417febb0320ceaacb01c7 /doc
parentd361a67553bcbcd42ba46de08859e73d7e98851e (diff)
downloadSCons-69e1562853db2f1836a0942e1cc01aeb87858a9d.zip
SCons-69e1562853db2f1836a0942e1cc01aeb87858a9d.tar.gz
SCons-69e1562853db2f1836a0942e1cc01aeb87858a9d.tar.bz2
Add support for Objective C/C++ .m and .mm file extensions. (Timothee Besset)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.18
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index d26abdc..ae57f82 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -2066,6 +2066,8 @@ Source files must have one of the following extensions:
.FOR Fortran file
.fpp Fortran file + C pre-processor
.FPP Fortran file + C pre-processor
+ .m Objective C file
+ .mm Objective C++ file
.s assembly language file
.S WIN32: assembly language file
POSIX: assembly language file + C pre-processor
@@ -4930,6 +4932,7 @@ The default list is:
[".c", ".C", ".cxx", ".cpp", ".c++", ".cc",
".h", ".H", ".hxx", ".hpp", ".hh",
".F", ".fpp", ".FPP",
+ ".m", ".mm",
".S", ".spp", ".SPP"]
.EE
@@ -4975,7 +4978,10 @@ SCons also treats files with the suffixes
.IR .c++ ,
and
.I .C++
-as C++ files.
+as C++ files,
+and files with
+.I .mm
+suffixes as Objective C++ files.
On case-sensitive systems (Linux, UNIX, and other POSIX-alikes),
SCons also treats
.I .C