rename most scons build targets to match cmake
This commit is contained in:
parent
b54d16858f
commit
4b40d73bfb
|
@ -6,4 +6,4 @@ sources = env.Glob('./*.c')
|
|||
defs = ''
|
||||
incs = ' . '
|
||||
|
||||
env.BlenderLib ('bf_lzma', sources, Split(incs), Split(defs), libtype=['intern'], priority=[40] )
|
||||
env.BlenderLib ('extern_lzma', sources, Split(incs), Split(defs), libtype=['intern'], priority=[40] )
|
||||
|
|
|
@ -6,4 +6,4 @@ sources = env.Glob('minilzo/*.c')
|
|||
defs = ''
|
||||
incs = ' include '
|
||||
|
||||
env.BlenderLib ('bf_minilzo', sources, Split(incs), Split(defs), libtype=['intern'], priority=[40] )
|
||||
env.BlenderLib ('extern_minilzo', sources, Split(incs), Split(defs), libtype=['intern'], priority=[40] )
|
||||
|
|
|
@ -45,4 +45,4 @@ else:
|
|||
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
||||
incs += ' ' + env['BF_PTHREADS_INC']
|
||||
|
||||
env.BlenderLib ('bf_audaspace', sources, Split(incs), defs, libtype=['intern','player'], priority = [25,215] )
|
||||
env.BlenderLib ('bf_intern_audaspace', sources, Split(incs), defs, libtype=['intern','player'], priority = [25,215] )
|
||||
|
|
|
@ -8,7 +8,7 @@ incs += ' ../../source/blender/makesdna ../../intern/guardedalloc'
|
|||
incs += ' ../../source/blender/blenlib'
|
||||
|
||||
if (env['OURPLATFORM'] == 'win32-mingw'):
|
||||
env.BlenderLib ('blender_bop', sources, Split(incs) , [], libtype='intern', priority = 5 )
|
||||
env.BlenderLib ('bf_intern_bop', sources, Split(incs) , [], libtype='intern', priority = 5 )
|
||||
else:
|
||||
env.BlenderLib ('blender_bop', sources, Split(incs) , [], libtype='intern', priority = 5 )
|
||||
env.BlenderLib ('bf_intern_bop', sources, Split(incs) , [], libtype='intern', priority = 5 )
|
||||
|
||||
|
|
|
@ -5,5 +5,5 @@ sources = env.Glob('intern/*.cpp')
|
|||
|
||||
incs = 'intern ../container ../moto/include ../memutil'
|
||||
|
||||
env.BlenderLib ('blender_BSP', sources, Split(incs), [], libtype='core', priority=200 )
|
||||
env.BlenderLib ('bf_intern_bsp', sources, Split(incs), [], libtype='core', priority=200 )
|
||||
|
||||
|
|
|
@ -4,4 +4,4 @@ Import ('env')
|
|||
sources = env.Glob('intern/*.cpp')
|
||||
incs = '.'
|
||||
|
||||
env.BlenderLib ('blender_CTR', sources, Split(incs) , [], libtype='intern', priority = 10 )
|
||||
env.BlenderLib ('bf_intern_ctr', sources, Split(incs) , [], libtype='intern', priority = 10 )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = env.Glob('intern/*.cpp')
|
|||
|
||||
incs = '. ../moto/include ../container ../memutil'
|
||||
|
||||
env.BlenderLib ('bf_decimation', sources, Split(incs) , [], libtype=['core'], priority = [200] )
|
||||
env.BlenderLib ('bf_intern_decimate', sources, Split(incs) , [], libtype=['core'], priority = [200] )
|
||||
|
|
|
@ -19,4 +19,4 @@ if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
|
|||
incs += ' ' + env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC']
|
||||
incs += ' extern '
|
||||
|
||||
env.BlenderLib ('bf_elbeem', sources, Split(incs), Split(defs), libtype='intern', priority=0 )
|
||||
env.BlenderLib ('bf_intern_elbeem', sources, Split(incs), Split(defs), libtype='intern', priority=0 )
|
||||
|
|
|
@ -60,4 +60,4 @@ if env['BF_GHOST_DEBUG']:
|
|||
incs = '. ../string #extern/glew/include #source/blender/imbuf #source/blender/makesdna ' + env['BF_OPENGL_INC']
|
||||
if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc'):
|
||||
incs = env['BF_WINTAB_INC'] + ' ' + incs
|
||||
env.BlenderLib ('bf_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15] )
|
||||
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15] )
|
|
@ -5,4 +5,4 @@ Import('env')
|
|||
sources = env.Glob('intern/*.c')
|
||||
incs = '.'
|
||||
|
||||
env.BlenderLib ('bf_guardedalloc', sources, Split(incs), defines=[], libtype=['intern','player'], priority = [5,150] )
|
||||
env.BlenderLib ('bf_intern_guardedalloc', sources, Split(incs), defines=[], libtype=['intern','player'], priority = [5,150] )
|
||||
|
|
|
@ -5,5 +5,5 @@ sources = env.Glob('intern/*.cpp')
|
|||
|
||||
incs = 'intern ../moto/include ../memutil'
|
||||
|
||||
env.BlenderLib ('bf_IK', sources, Split(incs), [], libtype=['intern','player'], priority=[100,90] )
|
||||
env.BlenderLib ('bf_intern_ik', sources, Split(incs), [], libtype=['intern','player'], priority=[100,90] )
|
||||
|
||||
|
|
|
@ -7,5 +7,5 @@ sources += env.Glob('kdl/utilities/*.cpp')
|
|||
|
||||
incs = '. ../../extern/Eigen2'
|
||||
|
||||
env.BlenderLib ('bf_ITASC', sources, Split(incs), [], libtype=['intern','player'], priority=[20,100] )
|
||||
env.BlenderLib ('bf_intern_itasc', sources, Split(incs), [], libtype=['intern','player'], priority=[20,100] )
|
||||
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = env.Glob('intern/*.cpp')
|
|||
|
||||
incs = '. ..'
|
||||
|
||||
env.BlenderLib ('bf_memutil', sources, Split(incs), [], libtype=['intern','player'], priority = [0,155] )
|
||||
env.BlenderLib ('bf_intern_memutil', sources, Split(incs), [], libtype=['intern','player'], priority = [0,155] )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = env.Glob('intern/*.cpp')
|
|||
|
||||
incs = 'include'
|
||||
|
||||
env.BlenderLib ('bf_moto', sources, Split(incs), [], libtype=['intern','player'], priority = [130,95] )
|
||||
env.BlenderLib ('bf_intern_moto', sources, Split(incs), [], libtype=['intern','player'], priority = [130,95] )
|
||||
|
|
|
@ -6,7 +6,7 @@ sources = env.Glob('intern/*.c') + env.Glob('superlu/*.c')
|
|||
incs = 'extern superlu'
|
||||
|
||||
if (env['OURPLATFORM'] == 'win32-mingw'):
|
||||
env.BlenderLib ('blender_ONL', sources, Split(incs), [], libtype=['core','intern'], priority=[1,80] )
|
||||
env.BlenderLib ('bf_intern_opennl', sources, Split(incs), [], libtype=['core','intern'], priority=[1,80] )
|
||||
else:
|
||||
env.BlenderLib ('blender_ONL', sources, Split(incs), [], libtype=['core'], priority=[55] )
|
||||
env.BlenderLib ('bf_intern_opennl', sources, Split(incs), [], libtype=['core'], priority=[55] )
|
||||
|
||||
|
|
|
@ -19,4 +19,4 @@ if env['WITH_BF_FFTW3']:
|
|||
defs += ' FFTW3=1'
|
||||
incs += env['BF_FFTW3_INC']
|
||||
|
||||
env.BlenderLib ('bf_smoke', sources, Split(incs), Split(defs), libtype=['intern'], priority=[40] )
|
||||
env.BlenderLib ('bf_intern_smoke', sources, Split(incs), Split(defs), libtype=['intern'], priority=[40] )
|
||||
|
|
|
@ -4,4 +4,4 @@ Import ('env')
|
|||
sources = env.Glob('intern/*.cpp')
|
||||
incs = '.'
|
||||
|
||||
env.BlenderLib ('bf_string', sources, Split(incs), [], libtype=['intern','player'], priority = [50,10] )
|
||||
env.BlenderLib ('bf_intern_string', sources, Split(incs), [], libtype=['intern','player'], priority = [50,10] )
|
||||
|
|
|
@ -50,7 +50,7 @@ targetdir = normpath(root_build_dir + '/makesdna')
|
|||
if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'):
|
||||
targetdir = '#' + targetdir
|
||||
|
||||
makesdna = makesdna_tool.Program (target = targetdir, source = source_files, LIBS=['bf_guardedalloc', 'bf_blenlib'])
|
||||
makesdna = makesdna_tool.Program (target = targetdir, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_blenlib'])
|
||||
|
||||
dna_dict = dna.Dictionary()
|
||||
dna.Depends ('dna.c', makesdna)
|
||||
|
|
|
@ -138,9 +138,9 @@ if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'):
|
|||
targetpath = '#' + targetpath
|
||||
|
||||
if env['OURPLATFORM'] == 'linux2' and root_build_dir[0]==os.sep:
|
||||
makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_guardedalloc', 'bf_dna', 'bf_blenlib'])
|
||||
makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib'])
|
||||
else:
|
||||
makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_guardedalloc', 'bf_dna', 'bf_blenlib'])
|
||||
makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib'])
|
||||
|
||||
rna_dict = rna.Dictionary()
|
||||
rna.Depends (generated_files, makesrna)
|
||||
|
|
|
@ -15,6 +15,6 @@ defs = []
|
|||
if env['BF_NO_ELBEEM']:
|
||||
defs.append('DISABLE_ELBEEM')
|
||||
|
||||
env.BlenderLib ( libname = 'modifiers', sources = sources,
|
||||
env.BlenderLib ( libname = 'bf_modifiers', sources = sources,
|
||||
includes = Split(incs), defines=defs,
|
||||
libtype=['core','player'], priority = [180, 20] )
|
||||
|
|
|
@ -21,4 +21,4 @@ env.BlenderLib( libname = 'bf_python', sources = Split(sources), includes = Spli
|
|||
|
||||
# generic
|
||||
sources = env.Glob('generic/*.c')
|
||||
env.BlenderLib( libname = 'bf_gen_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165]) # ketsji is 360
|
||||
env.BlenderLib( libname = 'bf_python_ext', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165]) # ketsji is 360
|
||||
|
|
Loading…
Reference in New Issue