- proper Freestyle initialization, with support for undo/redo - re-added FreestyleStyleConfig data structure - Freestyle Python interpreter updated This commit should compile without errors. More work is necessary to complete the migration: - add Freestyle in the UI - set up RNA support
74 lines
1.8 KiB
Python
74 lines
1.8 KiB
Python
#!/usr/bin/python
|
|
import sys
|
|
Import ('env')
|
|
|
|
sources = []
|
|
defs = []
|
|
incs = ''
|
|
|
|
incs += '../blenkernel ../blenloader ../blenlib ../imbuf ../makesdna ../makesrna ../python '
|
|
incs += '../render/extern/include ../render/intern/include ../include ../src'
|
|
incs += ' #/extern/glew/include #/intern/guardedalloc'
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
incs += ' ' + env['BF_PNG_INC']
|
|
|
|
########################################################
|
|
# folders sources
|
|
########################################################
|
|
|
|
# system
|
|
prefix = 'intern/system'
|
|
system_sources = env.Glob(prefix + '/*.cpp')
|
|
|
|
# image
|
|
prefix = 'intern/image'
|
|
image_sources = env.Glob(prefix + '/*.cpp')
|
|
|
|
# geometry
|
|
prefix = 'intern/geometry'
|
|
geometry_sources = env.Glob(prefix + '/*.cpp')
|
|
|
|
# scene_graph
|
|
prefix = 'intern/scene_graph'
|
|
scene_graph_sources = env.Glob(prefix + '/*.cpp')
|
|
|
|
# winged_edge
|
|
prefix = 'intern/winged_edge'
|
|
winged_edge_sources = env.Glob(prefix + '/*.cpp')
|
|
|
|
# view_map
|
|
prefix = 'intern/view_map'
|
|
view_map_sources = env.Glob(prefix + '/*.cpp')
|
|
|
|
# stroke
|
|
prefix = 'intern/stroke'
|
|
stroke_sources = env.Glob(prefix + '/*.cpp')
|
|
|
|
# rendering
|
|
prefix = 'intern/rendering'
|
|
rendering_sources = env.Glob(prefix + '/GL*.cpp')
|
|
|
|
# app / app_blender
|
|
prefix = 'intern/app_blender'
|
|
app_sources = env.Glob(prefix + '/*.cpp')
|
|
|
|
# Python
|
|
prefix = 'intern/python'
|
|
python_sources = env.Glob(prefix + '/*.cpp') \
|
|
+ env.Glob(prefix + '/*/*.cpp') \
|
|
+ env.Glob(prefix + '/*/*/*.cpp') \
|
|
+ env.Glob(prefix + '/*/*/*/*.cpp')
|
|
|
|
sources = system_sources + image_sources + geometry_sources + scene_graph_sources \
|
|
+ winged_edge_sources + view_map_sources + stroke_sources + rendering_sources \
|
|
+ app_sources + python_sources
|
|
|
|
env.BlenderLib (libname="bf_freestyle",
|
|
sources=sources,
|
|
includes=Split(incs),
|
|
defines=defs,
|
|
libtype=['core'],
|
|
priority = [25]
|
|
)
|
|
|