This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/shader_fx/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

55 lines
971 B
CMake

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2018 Blender Foundation. All rights reserved.
set(INC
.
intern
../blenfont
../blenkernel
../blenlib
../blentranslation
../bmesh
../depsgraph
../editors/include
../makesdna
../makesrna
../render
../windowmanager
../../../intern/eigen
../../../intern/guardedalloc
# RNA_prototypes.h
${CMAKE_BINARY_DIR}/source/blender/makesrna
)
set(INC_SYS
${ZLIB_INCLUDE_DIRS}
)
set(SRC
intern/FX_shader_util.h
intern/FX_ui_common.c
intern/FX_shader_blur.c
intern/FX_shader_colorize.c
intern/FX_shader_flip.c
intern/FX_shader_glow.c
intern/FX_shader_pixel.c
intern/FX_shader_rim.c
intern/FX_shader_shadow.c
intern/FX_shader_swirl.c
intern/FX_shader_util.c
intern/FX_shader_wave.c
intern/FX_ui_common.h
FX_shader_types.h
)
set(LIB
)
blender_add_lib(bf_shader_fx "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
# RNA_prototypes.h
add_dependencies(bf_shader_fx bf_rna)