2023-08-15 16:20:26 +02:00
|
|
|
# SPDX-FileCopyrightText: 2011-2022 Blender Authors
|
2023-06-14 14:49:59 +02:00
|
|
|
#
|
2022-02-11 04:23:56 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2011-08-16 11:36:15 +02:00
|
|
|
# headless configuration, useful in for servers or renderfarms
|
|
|
|
# builds without a windowing system (X11/Windows/Cocoa).
|
|
|
|
#
|
|
|
|
# Example usage:
|
|
|
|
# cmake -C../blender/build_files/cmake/config/blender_headless.cmake ../blender
|
|
|
|
#
|
|
|
|
|
2018-06-10 08:12:13 +02:00
|
|
|
set(WITH_HEADLESS ON CACHE BOOL "" FORCE)
|
2011-08-16 11:36:15 +02:00
|
|
|
|
|
|
|
# disable audio, its possible some devs may want this but for now disable
|
2018-09-19 17:48:11 +02:00
|
|
|
# so the python module doesn't hold the audio device and loads quickly.
|
2013-01-30 08:33:26 +01:00
|
|
|
set(WITH_AUDASPACE OFF CACHE BOOL "" FORCE)
|
2021-03-23 07:41:46 +01:00
|
|
|
set(WITH_CODEC_FFMPEG OFF CACHE BOOL "" FORCE)
|
|
|
|
set(WITH_CODEC_SNDFILE OFF CACHE BOOL "" FORCE)
|
2021-03-14 12:46:47 +01:00
|
|
|
set(WITH_COREAUDIO OFF CACHE BOOL "" FORCE)
|
2013-01-30 08:33:26 +01:00
|
|
|
set(WITH_JACK OFF CACHE BOOL "" FORCE)
|
2021-03-23 07:41:46 +01:00
|
|
|
set(WITH_OPENAL OFF CACHE BOOL "" FORCE)
|
2021-03-02 17:29:18 +01:00
|
|
|
set(WITH_PULSEAUDIO OFF CACHE BOOL "" FORCE)
|
2013-01-30 08:33:26 +01:00
|
|
|
set(WITH_SDL OFF CACHE BOOL "" FORCE)
|
2021-03-11 19:22:56 +01:00
|
|
|
set(WITH_WASAPI OFF CACHE BOOL "" FORCE)
|
2011-08-16 11:36:15 +02:00
|
|
|
|
|
|
|
# other features which are not especially useful as a python module
|
2013-01-30 08:33:26 +01:00
|
|
|
set(WITH_X11_XINPUT OFF CACHE BOOL "" FORCE)
|
|
|
|
set(WITH_INPUT_NDOF OFF CACHE BOOL "" FORCE)
|