Files
test2/source/blender/nodes/texture/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

71 lines
1.5 KiB
CMake

# SPDX-FileCopyrightText: 2023 Blender Authors
#
# SPDX-License-Identifier: GPL-2.0-or-later
set(INC
.
..
../intern
../../editors/include
../../blenkernel
../../blentranslation
../../bmesh
../../imbuf
../../makesrna
../../render
../../windowmanager
# RNA_prototypes.h
${CMAKE_BINARY_DIR}/source/blender/makesrna
)
set(INC_SYS
)
set(SRC
nodes/node_texture_at.cc
nodes/node_texture_bricks.cc
nodes/node_texture_checker.cc
nodes/node_texture_combine_color.cc
nodes/node_texture_common.cc
nodes/node_texture_compose.cc
nodes/node_texture_coord.cc
nodes/node_texture_curves.cc
nodes/node_texture_decompose.cc
nodes/node_texture_distance.cc
nodes/node_texture_hueSatVal.cc
nodes/node_texture_image.cc
nodes/node_texture_invert.cc
nodes/node_texture_math.cc
nodes/node_texture_mixRgb.cc
nodes/node_texture_output.cc
nodes/node_texture_proc.cc
nodes/node_texture_rotate.cc
nodes/node_texture_scale.cc
nodes/node_texture_separate_color.cc
nodes/node_texture_texture.cc
nodes/node_texture_translate.cc
nodes/node_texture_valToNor.cc
nodes/node_texture_valToRgb.cc
nodes/node_texture_viewer.cc
node_texture_register.cc
node_texture_tree.cc
node_texture_util.cc
node_texture_register.hh
node_texture_util.hh
)
set(LIB
PRIVATE bf::blenlib
PRIVATE bf::depsgraph
PRIVATE bf::dna
PRIVATE bf::intern::guardedalloc
bf_nodes
)
blender_add_lib(bf_nodes_texture "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
# RNA_prototypes.h
add_dependencies(bf_nodes_texture bf_rna)