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/editors/animation/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

71 lines
1.2 KiB
CMake

# SPDX-License-Identifier: GPL-2.0-or-later
set(INC
../include
../../blenkernel
../../blenlib
../../blentranslation
../../depsgraph
../../gpu
../../makesdna
../../makesrna
../../sequencer
../../windowmanager
../../../../intern/clog
../../../../intern/glew-mx
../../../../intern/guardedalloc
# RNA_prototypes.h
${CMAKE_BINARY_DIR}/source/blender/makesrna
)
set(SRC
anim_channels_defines.c
anim_channels_edit.c
anim_deps.c
anim_draw.c
anim_filter.c
anim_ipo_utils.c
anim_markers.c
anim_motion_paths.c
anim_ops.c
drivers.c
fmodifier_ui.c
keyframes_draw.c
keyframes_edit.c
keyframes_general.c
keyframes_keylist.cc
keyframing.c
keyingsets.c
time_scrub_ui.c
anim_intern.h
)
set(LIB
bf_blenkernel
bf_blenlib
)
if(WITH_PYTHON)
add_definitions(-DWITH_PYTHON)
endif()
blender_add_lib(bf_editor_animation "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
# RNA_prototypes.h
add_dependencies(bf_editor_animation bf_rna)
if(WITH_GTESTS)
set(TEST_SRC
keyframes_keylist_test.cc
)
set(TEST_INC
)
set(TEST_LIB
)
include(GTestTesting)
blender_add_test_lib(bf_editor_animation_tests "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}")
endif()