- XCode project
- Scons :
scons stopped working for Os X in the last month (dont know when) :
* the '.' and '..' keywords in CCPPATH
are not recognized anymore for sconscripts compiling files at
a sub level
* when doing a scons clean, the 3 subdirs in build dir are removed
and scons then fail to recreate them (exten, intern, source)
this commit solve the first problem as a temp workaround
for the latter simply recreate the dirs manually
I will investigate that further when on vacations, which i should already
be.
;(
all 3 build systems are now working on Os X
50 lines
1.7 KiB
Python
50 lines
1.7 KiB
Python
#!/usr/bin/python
|
|
Import ('extra_includes')
|
|
Import ('user_options_dict')
|
|
Import ('library_env')
|
|
|
|
imbuf_env = library_env.Copy ()
|
|
|
|
source_files = ['intern/allocimbuf.c',
|
|
'intern/amiga.c',
|
|
'intern/anim.c',
|
|
'intern/anim5.c',
|
|
'intern/antialias.c',
|
|
'intern/bitplanes.c',
|
|
'intern/bmp.c',
|
|
'intern/cmap.c',
|
|
'intern/cspace.c',
|
|
'intern/data.c',
|
|
'intern/dither.c',
|
|
'intern/divers.c',
|
|
'intern/filter.c',
|
|
'intern/ham.c',
|
|
'intern/hamx.c',
|
|
'intern/iff.c',
|
|
'intern/imageprocess.c',
|
|
'intern/iris.c',
|
|
'intern/jpeg.c',
|
|
'intern/png.c',
|
|
'intern/readimage.c',
|
|
'intern/rectop.c',
|
|
'intern/rotate.c',
|
|
'intern/scaling.c',
|
|
'intern/targa.c',
|
|
'intern/util.c',
|
|
'intern/writeimage.c']
|
|
|
|
imbuf_env.Append (CPPPATH = ['.',
|
|
'../imbuf',
|
|
'../makesdna',
|
|
'#/intern/guardedalloc',
|
|
'../blenlib',
|
|
'../avi',
|
|
'../quicktime',
|
|
'../blenkernel'])
|
|
|
|
imbuf_env.Append (CPPPATH = user_options_dict['JPEG_INCLUDE'])
|
|
imbuf_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
|
|
imbuf_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
|
|
imbuf_env.Append (CPPPATH = extra_includes)
|
|
imbuf_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_imbuf', source=source_files)
|