* first working changes to get blenderplayer linking * blenderplayer/ moved into source/ (CMakeLists.txt changed for that too) * added externs for bprogname to gp_ghost, so that it links properly
12 lines
329 B
Python
12 lines
329 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
|
|
incs = '../blenlib ../blenkernel ../makesdna ../include'
|
|
incs += ' #/extern/glew/include #intern/guardedalloc ../imbuf .'
|
|
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
|
|
env.BlenderLib ( 'bf_gpu', sources, Split(incs), [], libtype=['core', 'player'], priority=[160, 35] )
|