Merge branch 'master' into blender2.8
[blender.git] / build_files / cmake / config / blender_headless.cmake
1 # headless configuration, useful in for servers or renderfarms
2 # builds without a windowing system (X11/Windows/Cocoa).
3 #
4 # Example usage:
5 #   cmake -C../blender/build_files/cmake/config/blender_headless.cmake  ../blender
6 #
7
8 set(WITH_HEADLESS            ON  CACHE BOOL "" FORCE)
9
10 # disable audio, its possible some devs may want this but for now disable
11 # so the python module doesnt hold the audio device and loads quickly.
12 set(WITH_AUDASPACE           OFF CACHE BOOL "" FORCE)
13 set(WITH_FFTW3               OFF CACHE BOOL "" FORCE)
14 set(WITH_JACK                OFF CACHE BOOL "" FORCE)
15 set(WITH_SDL                 OFF CACHE BOOL "" FORCE)
16 set(WITH_OPENAL              OFF CACHE BOOL "" FORCE)
17 set(WITH_CODEC_FFMPEG        OFF CACHE BOOL "" FORCE)
18 set(WITH_CODEC_SNDFILE       OFF CACHE BOOL "" FORCE)
19
20 # other features which are not especially useful as a python module
21 set(WITH_X11_XINPUT          OFF CACHE BOOL "" FORCE)
22 set(WITH_INPUT_NDOF          OFF CACHE BOOL "" FORCE)