=========================== Fixed compilation issues with 32bit windows platforms. Error was cause by alignment issues. It's known bug in Eigen community which is caused by weirdeness of msvc compiler. Disabling static alignment is the simpliest workaround, but it could make things a bit slover.
15 lines
481 B
Python
15 lines
481 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
defs = []
|
|
sources = env.Glob('intern/*.c') + env.Glob('intern/*.cpp')
|
|
|
|
incs = '#/intern/guardedalloc #/intern/iksolver/extern ../makesdna ../blenlib'
|
|
incs += ' ../blenkernel ../include ../ikplugin #/intern/itasc #/extern/Eigen3'
|
|
|
|
defs.append('WITH_IK_ITASC')
|
|
|
|
if env['PLATFORM'] == 'win32':
|
|
defs.append('EIGEN_DONT_ALIGN_STATICALLY')
|
|
|
|
env.BlenderLib ( 'bf_ikplugin', sources, Split(incs), defs, libtype=['core','player'], priority=[180, 190] )
|