Changeset 460

Show
Ignore:
Timestamp:
01/02/07 07:13:41 (2 years ago)
Author:
PatrickDaehne
Message:

Added support for Objective-C source code

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SConstruct

    r451 r460  
    336336        # the active library object 
    337337        testFiles     = [f for f in files if (os.path.basename(f).startswith("test") and 
    338                                               f.endswith(".cpp"))]; 
     338                                              os.path.splitext(f)[1] in [".cpp",".cc",".mm"])]; 
    339339        unittestFiles = [f for f in files if (os.path.basename(f).endswith("Test.cpp") and 
    340340                                              os.path.basename(f).startswith("OSG"))]; 
    341         sourceFiles   = [f for f in files if (os.path.splitext(f)[1] in [".cpp", ".cc"] and 
     341        sourceFiles   = [f for f in files if (os.path.splitext(f)[1] in [".cpp", ".cc", ".mm"] and 
    342342                                              os.path.basename(f).startswith("OSG") and 
    343343                                              f not in testFiles and f not in unittestFiles)];