forked from bartvdbraak/blender
a296b8f694
With libepoxy we can choose between EGL and GLX at runtime, as well as dynamically open EGL and GLX libraries without linking to them. This will make it possible to build with Wayland, EGL, GLVND support while still running on systems that only have X11, GLX and libGL. It also paves the way for headless rendering through EGL. libepoxy is a new library dependency, and is included in the precompiled libraries. GLEW is no longer a dependency, and WITH_SYSTEM_GLEW was removed. Includes contributions by Brecht Van Lommel, Ray Molenkamp, Campbell Barton and Sergey Sharybin. Ref T76428 Differential Revision: https://developer.blender.org/D15291
76 lines
1.4 KiB
CMake
76 lines
1.4 KiB
CMake
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright 2006 Blender Foundation. All rights reserved.
|
|
|
|
# add_subdirectory(atomic) # header only
|
|
add_subdirectory(atomic)
|
|
add_subdirectory(clog)
|
|
add_subdirectory(ghost)
|
|
add_subdirectory(guardedalloc)
|
|
add_subdirectory(libmv)
|
|
add_subdirectory(memutil)
|
|
add_subdirectory(opencolorio)
|
|
add_subdirectory(opensubdiv)
|
|
add_subdirectory(mikktspace)
|
|
add_subdirectory(eigen)
|
|
add_subdirectory(sky)
|
|
|
|
if(WITH_AUDASPACE)
|
|
add_subdirectory(audaspace)
|
|
endif()
|
|
|
|
if(WITH_MOD_REMESH)
|
|
add_subdirectory(dualcon)
|
|
endif()
|
|
|
|
if(WITH_IK_SOLVER)
|
|
add_subdirectory(iksolver)
|
|
endif()
|
|
|
|
if(WITH_IK_ITASC)
|
|
add_subdirectory(itasc)
|
|
endif()
|
|
|
|
if(WITH_CYCLES)
|
|
add_subdirectory(cycles)
|
|
endif()
|
|
|
|
if(WITH_INTERNATIONAL)
|
|
add_subdirectory(locale)
|
|
endif()
|
|
|
|
if(WITH_BULLET)
|
|
add_subdirectory(rigidbody)
|
|
endif()
|
|
|
|
# only windows needs utf16 converter
|
|
if(WIN32)
|
|
add_subdirectory(utfconv)
|
|
endif()
|
|
|
|
if(WITH_MOD_FLUID)
|
|
add_subdirectory(mantaflow)
|
|
endif()
|
|
|
|
if(WITH_OPENVDB)
|
|
add_subdirectory(openvdb)
|
|
endif()
|
|
|
|
if(WITH_QUADRIFLOW)
|
|
add_subdirectory(quadriflow)
|
|
endif()
|
|
|
|
if(WITH_CODEC_FFMPEG)
|
|
add_subdirectory(ffmpeg)
|
|
endif()
|
|
|
|
if(UNIX AND NOT APPLE)
|
|
add_subdirectory(libc_compat)
|
|
endif()
|
|
|
|
if(UNIX AND NOT APPLE)
|
|
# Important this comes after "ghost" as it uses includes defined by GHOST's CMake.
|
|
if(WITH_GHOST_WAYLAND AND WITH_GHOST_WAYLAND_DYNLOAD)
|
|
add_subdirectory(wayland_dynload)
|
|
endif()
|
|
endif()
|