Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-03-14 18:54:46 +0300
committerJulian Eisel <julian@blender.org>2022-03-14 19:08:46 +0300
commita5578351c38e2b2bb45d940a2fc57354e5fe3a5e (patch)
tree3d6b5d275f27f6b549772586c2e3af59ea728a1d /source/blender/nodes/composite/CMakeLists.txt
parentcc98b40f870c39a997cf99412b308b8a0e82ed44 (diff)
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 9b298cf3dbec 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
Diffstat (limited to 'source/blender/nodes/composite/CMakeLists.txt')
-rw-r--r--source/blender/nodes/composite/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/nodes/composite/CMakeLists.txt b/source/blender/nodes/composite/CMakeLists.txt
index 006682631ae..b8bdd9859e0 100644
--- a/source/blender/nodes/composite/CMakeLists.txt
+++ b/source/blender/nodes/composite/CMakeLists.txt
@@ -19,6 +19,8 @@ set(INC
# dna_type_offsets.h
${CMAKE_CURRENT_BINARY_DIR}/../../makesdna/intern
+ # RNA_prototypes.h
+ ${CMAKE_BINARY_DIR}/source/blender/makesrna
)
@@ -141,3 +143,5 @@ endif()
# Needed so we can use dna_type_offsets.h for defaults initialization.
add_dependencies(bf_nodes_composite bf_dna)
+# RNA_prototypes.h
+add_dependencies(bf_nodes_composite bf_rna)