Files
test2/source/blender/sequencer/CMakeLists.txt
Jeroen Bakker 65e58fe574 CMake: Fix Compiling Shader Builder on macOS
Due to changes in the build environment shader_builder wasn't able to
compile on macOs. This patch reverts several recent changes to CMake files.

* dbb2844ed9
* 94817f64b9
* 1b6cd937ff

The idea is that in the near future shader_builder will run on the buildbot as
part of any regular build to ensure that changes to the CMake doesn't break
shader_builder and we only detect it after a few days.

Pull Request: https://projects.blender.org/blender/blender/pulls/115929
2023-12-08 15:47:14 +01:00

111 lines
2.0 KiB
CMake

# SPDX-FileCopyrightText: 2011 Blender Authors
#
# SPDX-License-Identifier: GPL-2.0-or-later
set(INC
.
intern
../blenkernel
../blenloader
../blentranslation
../imbuf
../makesrna
../render
../windowmanager
# RNA_prototypes.h
${CMAKE_BINARY_DIR}/source/blender/makesrna
)
set(INC_SYS
)
set(SRC
SEQ_add.hh
SEQ_animation.hh
SEQ_channels.hh
SEQ_edit.hh
SEQ_effects.hh
SEQ_iterator.hh
SEQ_modifier.hh
SEQ_prefetch.hh
SEQ_proxy.hh
SEQ_relations.hh
SEQ_render.hh
SEQ_retiming.hh
SEQ_select.hh
SEQ_sequencer.hh
SEQ_sound.hh
SEQ_time.hh
SEQ_transform.hh
SEQ_utils.hh
intern/animation.cc
intern/channels.cc
intern/disk_cache.cc
intern/disk_cache.hh
intern/effects.cc
intern/effects.hh
intern/image_cache.cc
intern/image_cache.hh
intern/iterator.cc
intern/modifier.cc
intern/multiview.cc
intern/multiview.hh
intern/prefetch.cc
intern/prefetch.hh
intern/proxy.cc
intern/proxy.hh
intern/proxy_job.cc
intern/render.cc
intern/render.hh
intern/sequence_lookup.cc
intern/sequencer.cc
intern/sequencer.hh
intern/sound.cc
intern/strip_add.cc
intern/strip_edit.cc
intern/strip_relations.cc
intern/strip_retiming.cc
intern/strip_select.cc
intern/strip_time.cc
intern/strip_time.hh
intern/strip_transform.cc
intern/utils.cc
intern/utils.hh
)
set(LIB
PRIVATE bf::blenfont
bf_blenkernel
PRIVATE bf::blenlib
PRIVATE bf::depsgraph
PRIVATE bf::dna
PRIVATE bf::intern::atomic
PRIVATE bf::intern::clog
PRIVATE bf::intern::guardedalloc
)
if(WITH_AUDASPACE)
list(APPEND INC_SYS
${AUDASPACE_C_INCLUDE_DIRS}
)
if(WITH_SYSTEM_AUDASPACE)
list(APPEND LIB
${AUDASPACE_C_LIBRARIES}
${AUDASPACE_PY_LIBRARIES}
)
endif()
add_definitions(-DWITH_AUDASPACE)
if(WITH_FFTW3)
add_definitions(-DWITH_CONVOLUTION)
endif()
endif()
blender_add_lib(bf_sequencer "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
# RNA_prototypes.h
add_dependencies(bf_sequencer bf_rna)