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*1b6cd937ffThe 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
60 lines
1015 B
CMake
60 lines
1015 B
CMake
# SPDX-FileCopyrightText: 2023 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(INC
|
|
../asset
|
|
../include
|
|
../../asset_system
|
|
../../blenkernel
|
|
../../blenloader
|
|
../../blentranslation
|
|
../../bmesh
|
|
../../gpu
|
|
../../imbuf
|
|
../../makesrna
|
|
../../sequencer
|
|
../../windowmanager
|
|
# RNA_prototypes.h
|
|
${CMAKE_BINARY_DIR}/source/blender/makesrna
|
|
)
|
|
|
|
set(INC_SYS
|
|
)
|
|
|
|
set(SRC
|
|
area.cc
|
|
area_query.cc
|
|
area_utils.cc
|
|
glutil.cc
|
|
screen_context.cc
|
|
screen_draw.cc
|
|
screen_edit.cc
|
|
screen_geometry.cc
|
|
screen_ops.cc
|
|
screen_user_menu.cc
|
|
screendump.cc
|
|
workspace_edit.cc
|
|
workspace_layout_edit.cc
|
|
workspace_listen.cc
|
|
|
|
screen_intern.h
|
|
)
|
|
|
|
set(LIB
|
|
PRIVATE bf::animrig
|
|
PRIVATE bf::blenfont
|
|
PRIVATE bf::blenlib
|
|
PRIVATE bf::depsgraph
|
|
PRIVATE bf::dna
|
|
bf_editor_datafiles
|
|
bf_editor_space_sequencer
|
|
PRIVATE bf::intern::guardedalloc
|
|
)
|
|
|
|
|
|
blender_add_lib(bf_editor_screen "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
|
|
|
# RNA_prototypes.h
|
|
add_dependencies(bf_editor_screen bf_rna)
|