Files
test2/source/blender/editors/undo/CMakeLists.txt
Ray Molenkamp b683bcc46c Cleanup: CMake: Modernize bf_intern_clog dependencies
Pretty straightforward

- Remove any bf_intern_clog paths from INC
- Add a dependency though LIB when missing

context: https://devtalk.blender.org/t/cmake-cleanup/30260

Pull Request: https://projects.blender.org/blender/blender/pulls/115323
2023-11-24 17:12:24 +01:00

42 lines
668 B
CMake

# SPDX-FileCopyrightText: 2023 Blender Authors
#
# SPDX-License-Identifier: GPL-2.0-or-later
set(INC
../include
../../asset_system
../../blenkernel
../../blenloader
../../blentranslation
../../makesrna
../../windowmanager
../../bmesh
)
set(INC_SYS
)
set(SRC
ed_undo.cc
memfile_undo.cc
undo_system_types.cc
undo_intern.hh
)
set(LIB
bf_blenkernel
PRIVATE bf::blenlib
PRIVATE bf::dna
bf_editor_curve
bf_editor_curves
bf_editor_lattice
bf_editor_mesh
bf_editor_metaball
bf_editor_physics
PRIVATE bf::intern::clog
PRIVATE bf::intern::guardedalloc
)
blender_add_lib(bf_editor_undo "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")