forked from bartvdbraak/blender
add some missing headers to cmake, also add some files as comments since it seems they should be added but evidently work fine without.
This commit is contained in:
parent
77c5160791
commit
cd9b51c1bf
@ -93,6 +93,9 @@ def cmake_get_src(f):
|
|||||||
# print(f)
|
# print(f)
|
||||||
|
|
||||||
def is_definition(l, f, i, name):
|
def is_definition(l, f, i, name):
|
||||||
|
if l.startswith("unset("):
|
||||||
|
return False
|
||||||
|
|
||||||
if ('set(%s' % name) in l or ('set(' in l and l.endswith(name)):
|
if ('set(%s' % name) in l or ('set(' in l and l.endswith(name)):
|
||||||
if len(l.split()) > 1:
|
if len(l.split()) > 1:
|
||||||
raise Exception("strict formatting not kept 'set(%s*' %s:%d" % (name, f, i))
|
raise Exception("strict formatting not kept 'set(%s*' %s:%d" % (name, f, i))
|
||||||
|
@ -21,6 +21,7 @@ set(SRC
|
|||||||
|
|
||||||
set(SRC_HEADERS
|
set(SRC_HEADERS
|
||||||
device.h
|
device.h
|
||||||
|
device_memory.h
|
||||||
device_intern.h
|
device_intern.h
|
||||||
device_network.h
|
device_network.h
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
set(INC
|
set(INC
|
||||||
.
|
.
|
||||||
../
|
..
|
||||||
../svm
|
../svm
|
||||||
../../render
|
../../render
|
||||||
../../util
|
../../util
|
||||||
|
@ -50,6 +50,8 @@ set(SRC_OSL
|
|||||||
|
|
||||||
set(SRC_OSL_HEADERS
|
set(SRC_OSL_HEADERS
|
||||||
node_texture.h
|
node_texture.h
|
||||||
|
node_color.h
|
||||||
|
node_fresnel.h
|
||||||
stdosl.h
|
stdosl.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ set(SRC
|
|||||||
buffers.cpp
|
buffers.cpp
|
||||||
camera.cpp
|
camera.cpp
|
||||||
film.cpp
|
film.cpp
|
||||||
|
# film_response.cpp # XXX, why isnt this in?
|
||||||
filter.cpp
|
filter.cpp
|
||||||
graph.cpp
|
graph.cpp
|
||||||
image.cpp
|
image.cpp
|
||||||
@ -40,6 +41,7 @@ set(SRC_HEADERS
|
|||||||
buffers.h
|
buffers.h
|
||||||
camera.h
|
camera.h
|
||||||
film.h
|
film.h
|
||||||
|
# film_response.h # XXX, why isnt this in?
|
||||||
filter.h
|
filter.h
|
||||||
graph.h
|
graph.h
|
||||||
image.h
|
image.h
|
||||||
|
@ -33,6 +33,7 @@ set(SRC_HEADERS
|
|||||||
util_cuda.h
|
util_cuda.h
|
||||||
util_debug.h
|
util_debug.h
|
||||||
util_dynlib.h
|
util_dynlib.h
|
||||||
|
util_foreach.h
|
||||||
util_function.h
|
util_function.h
|
||||||
util_hash.h
|
util_hash.h
|
||||||
util_image.h
|
util_image.h
|
||||||
|
@ -131,6 +131,7 @@ set(SRC
|
|||||||
shader/nodes/node_shader_vectMath.c
|
shader/nodes/node_shader_vectMath.c
|
||||||
shader/nodes/node_shader_attribute.c
|
shader/nodes/node_shader_attribute.c
|
||||||
shader/nodes/node_shader_background.c
|
shader/nodes/node_shader_background.c
|
||||||
|
# shader/nodes/node_shader_bsdf_anisotropic.c # XXX, why not included?
|
||||||
shader/nodes/node_shader_bsdf_diffuse.c
|
shader/nodes/node_shader_bsdf_diffuse.c
|
||||||
shader/nodes/node_shader_bsdf_glossy.c
|
shader/nodes/node_shader_bsdf_glossy.c
|
||||||
shader/nodes/node_shader_bsdf_glass.c
|
shader/nodes/node_shader_bsdf_glass.c
|
||||||
|
Loading…
Reference in New Issue
Block a user