
As discussed in https://developer.blender.org/D12034#412258, GLEW should be replaced by libepoxy to enable dynamic loading of OpenGL. Build: ```sh make lite debug ninja BUILD_CMAKE_ARGS="-DWITH_GHOST_X11=OFF -DWITH_GHOST_WAYLAND=ON -DWITH_GHOST_WAYLAND_LIBDECOR=ON -DPYTHON_VERSION=3.10" BUILD_DIR="../blender_build" ``` Verify that there are no X11 dependencies any more: ```sh lddtree ./blender_build/bin/blender ``` and: ```sh ./blender_build/bin/blender ``` should then start a pure Wayland client. This also works with GLX (`-DWITH_GHOST_X11=ON -DWITH_GHOST_WAYLAND=OFF`). This has not been tested on other systems (Windows, macOS) as I do not have access to those systems and the build bot does not allow me to trigger experimental builds any more (I get "you need to have role 'any-control'"). Reviewed By: campbellbarton, brecht, jbakker Differential Revision: https://developer.blender.org/D15291
62 lines
1.2 KiB
CMake
62 lines
1.2 KiB
CMake
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright 2011 Blender Foundation.
|
|
|
|
set(INC
|
|
../include
|
|
../../blenfont
|
|
../../blenkernel
|
|
../../blenlib
|
|
../../blentranslation
|
|
../../depsgraph
|
|
../../gpu
|
|
../../imbuf
|
|
../../makesdna
|
|
../../makesrna
|
|
../../windowmanager
|
|
../../../../intern/guardedalloc
|
|
|
|
# dna_type_offsets.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/../../makesdna/intern
|
|
# RNA_prototypes.h
|
|
${CMAKE_BINARY_DIR}/source/blender/makesrna
|
|
)
|
|
|
|
set(SRC
|
|
clip_buttons.c
|
|
clip_dopesheet_draw.c
|
|
clip_dopesheet_ops.c
|
|
clip_draw.c
|
|
clip_editor.c
|
|
clip_graph_draw.c
|
|
clip_graph_ops.c
|
|
clip_ops.c
|
|
clip_toolbar.c
|
|
clip_utils.c
|
|
space_clip.c
|
|
tracking_ops.c
|
|
tracking_ops_detect.c
|
|
tracking_ops_orient.c
|
|
tracking_ops_plane.c
|
|
tracking_ops_solve.c
|
|
tracking_ops_stabilize.c
|
|
tracking_ops_track.c
|
|
tracking_ops_utils.c
|
|
tracking_select.c
|
|
|
|
clip_intern.h
|
|
tracking_ops_intern.h
|
|
)
|
|
|
|
set(LIB
|
|
bf_blenkernel
|
|
bf_blenlib
|
|
)
|
|
|
|
|
|
blender_add_lib(bf_editor_space_clip "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
|
|
|
# Needed so we can use dna_type_offsets.h for defaults initialization.
|
|
add_dependencies(bf_editor_space_clip bf_dna)
|
|
# RNA_prototypes.h
|
|
add_dependencies(bf_editor_space_clip bf_rna)
|