Fix for zlib with MSVC/SCONS. Should compile now. This does not fix the bullet issues...
[blender.git] / source / blender / blenloader / SConscript
1 #!/usr/bin/python
2 Import ('user_options_dict')
3 Import ('library_env')
4
5 blenloader_env = library_env.Copy ()
6
7 source_files = ['intern/genfile.c',
8                 'intern/readblenentry.c',
9                 'intern/undofile.c',
10                 'intern/readfile.c',
11                 'intern/writefile.c']
12
13 blenloader_env.Append (CPPPATH = ['.',
14                                   '#/intern/guardedalloc',
15                                   '../blenlib',
16                                   '../blenkernel',
17                                   '../makesdna',
18                                   '../readblenfile',
19                                   '../include',
20                                   '../python',
21                                   '../../kernel/gen_messaging',
22                                   '../render/extern/include',
23                                   '../writestreamglue',
24                                   '../readstreamglue'])
25
26 blenloader_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_blenloader', source=source_files)
27 blenloader_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])