* tweak linking priorities - should help for GCC users
[blender.git] / source / blender / quicktime / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 source_files = ['apple/quicktime_import.c',
5                                 'apple/quicktime_export.c']
6
7 incs  = ['.',
8                  '../quicktime',
9                  '../makesdna',
10                  '#/intern/guardedalloc',
11                  '../blenlib',
12                  '../blenkernel',
13                  '../avi',
14                  '../imbuf',
15                  '../imbuf/intern',
16                  '../blenloader',
17                  '../render/extern/include',
18                  '../editors/include']
19
20 incs.append(env['BF_QUICKTIME_INC'])
21
22 if env['OURPLATFORM'] in ['win32-vc', 'darwin']:
23         types = ['core', 'player']
24         priorities = [115, 200]
25 else:
26         types = ['core']
27         priorities = [115]
28
29 env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=['WITH_QUICKTIME'], libtype=types, priority=priorities)