Files
test/source/blender/nodes/texture/CMakeLists.txt
Julian Eisel a5578351c3 Auto-generate RNA-structs declarations in RNA_prototypes.h
So far it was needed to declare a new RNA struct to `RNA_access.h` manually.
Since 9b298cf3db we generate a `RNA_prototypes.h` for RNA property
declarations. Now this also includes the RNA struct declarations, so they don't
have to be added manually anymore.

Differential Revision: https://developer.blender.org/D13862

Reviewed by: brecht, campbellbarton
2022-03-14 17:08:46 +01:00

76 lines
1.5 KiB
CMake

# SPDX-License-Identifier: GPL-2.0-or-later
set(INC
.
../
../intern
../../editors/include
../../blenkernel
../../blenlib
../../blentranslation
../../depsgraph
../../imbuf
../../makesdna
../../makesrna
../../render
../../windowmanager
../../../../intern/guardedalloc
# RNA_prototypes.h
${CMAKE_BINARY_DIR}/source/blender/makesrna
)
set(SRC
nodes/node_texture_at.c
nodes/node_texture_bricks.c
nodes/node_texture_checker.c
nodes/node_texture_common.c
nodes/node_texture_compose.c
nodes/node_texture_coord.c
nodes/node_texture_curves.c
nodes/node_texture_decompose.c
nodes/node_texture_distance.c
nodes/node_texture_hueSatVal.c
nodes/node_texture_image.c
nodes/node_texture_invert.c
nodes/node_texture_math.c
nodes/node_texture_mixRgb.c
nodes/node_texture_output.c
nodes/node_texture_proc.c
nodes/node_texture_rotate.c
nodes/node_texture_scale.c
nodes/node_texture_texture.c
nodes/node_texture_translate.c
nodes/node_texture_valToNor.c
nodes/node_texture_valToRgb.c
nodes/node_texture_viewer.c
node_texture_tree.c
node_texture_util.c
node_texture_util.h
)
set(LIB
bf_nodes
)
if(WITH_PYTHON)
list(APPEND INC
../../python
)
list(APPEND INC_SYS
${PYTHON_INCLUDE_DIRS}
)
list(APPEND LIB
${PYTHON_LINKFLAGS}
${PYTHON_LIBRARIES}
)
add_definitions(-DWITH_PYTHON)
endif()
blender_add_lib(bf_nodes_texture "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
# RNA_prototypes.h
add_dependencies(bf_nodes_texture bf_rna)