OSX: adapt comments to new behaviour when compiling with gcc-4.6 but GHOST and QT...
[blender.git] / source / blender / quicktime / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4
5 if env['USE_QTKIT']:
6     source_files = ['apple/qtkit_import.m',
7                 'apple/qtkit_export.m']
8 else:
9     source_files = ['apple/quicktime_import.c',
10                 'apple/quicktime_export.c']
11
12
13 incs  = ['.',
14          '../quicktime',
15          '../makesdna',
16          '../makesrna',
17          '../windowmanager',
18          '#/intern/guardedalloc',
19          '../blenlib',
20          '../blenkernel',
21          '../avi',
22          '../imbuf',
23          '../imbuf/intern',
24          '../blenloader',
25          '../render/extern/include',
26          '../editors/include',
27          '#/intern/audaspace/intern']
28
29 incs.append(env['BF_QUICKTIME_INC'])
30
31 types = ['core','player']
32 priorities = [200,235]
33
34 defs=['WITH_QUICKTIME']
35
36 if env['WITH_GHOST_COCOA']:
37     defs.append('GHOST_COCOA')
38     env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities, cc_compilerchange='/usr/bin/gcc', cxx_compilerchange='/usr/bin/g++') # always use default-Apple-gcc for objC language, gnu-compilers do not support it fully yet
39 else:
40     env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities)