
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
49 lines
1.0 KiB
CMake
49 lines
1.0 KiB
CMake
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(INC
|
|
../include
|
|
../../blenkernel
|
|
../../blenlib
|
|
../../blentranslation
|
|
../../bmesh
|
|
../../depsgraph
|
|
../../gpu
|
|
../../makesdna
|
|
../../makesrna
|
|
../../windowmanager
|
|
../../../../intern/clog
|
|
../../../../intern/eigen
|
|
../../../../intern/guardedalloc
|
|
# RNA_prototypes.h
|
|
${CMAKE_BINARY_DIR}/source/blender/makesrna
|
|
)
|
|
|
|
set(SRC
|
|
gizmo_draw_utils.c
|
|
gizmo_geometry.h
|
|
gizmo_library_intern.h
|
|
gizmo_library_presets.c
|
|
gizmo_library_utils.c
|
|
geometry/geom_arrow_gizmo.c
|
|
geometry/geom_cube_gizmo.c
|
|
geometry/geom_dial_gizmo.c
|
|
gizmo_types/arrow3d_gizmo.c
|
|
gizmo_types/blank3d_gizmo.c
|
|
gizmo_types/button2d_gizmo.c
|
|
gizmo_types/cage2d_gizmo.c
|
|
gizmo_types/cage3d_gizmo.c
|
|
gizmo_types/dial3d_gizmo.c
|
|
gizmo_types/move3d_gizmo.c
|
|
gizmo_types/primitive3d_gizmo.c
|
|
gizmo_types/snap3d_gizmo.c
|
|
)
|
|
|
|
set(LIB
|
|
)
|
|
|
|
|
|
blender_add_lib(bf_editor_gizmo_library "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
|
|
|
# RNA_prototypes.h
|
|
add_dependencies(bf_editor_gizmo_library bf_rna)
|