diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-16 13:36:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-16 13:36:15 +0400 |
commit | 93f135cfda5d8f9872e241920d24786af5d64bee (patch) | |
tree | 1c17d245e5641bae2d5661111006bbae028a16c9 /build_files/cmake/config/blender_headless.cmake | |
parent | b4df54151a5fe9e81e44bb75f6c9b3026b13d2e9 (diff) |
added cmake configureation presets, so on *nix systems you can do...
# minal blender with debug info
make debug lite
# blender with no ui
make headless
# blender as a python module
make bpy
Diffstat (limited to 'build_files/cmake/config/blender_headless.cmake')
-rw-r--r-- | build_files/cmake/config/blender_headless.cmake | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/build_files/cmake/config/blender_headless.cmake b/build_files/cmake/config/blender_headless.cmake new file mode 100644 index 00000000000..bd69eed30dd --- /dev/null +++ b/build_files/cmake/config/blender_headless.cmake @@ -0,0 +1,24 @@ +# 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 +# + +set(WITH_HEADLESS ON CACHE FORCE BOOL) +set(WITH_GAMEENGINE OFF CACHE FORCE BOOL) + +# disable audio, its possible some devs may want this but for now disable +# so the python module doesnt hold the audio device and loads quickly. +set(WITH_AUDASPACE OFF CACHE FORCE BOOL) +set(WITH_SAMPLERATE OFF CACHE FORCE BOOL) +set(WITH_FFTW3 OFF CACHE FORCE BOOL) +set(WITH_JACK OFF CACHE FORCE BOOL) +set(WITH_SDL OFF CACHE FORCE BOOL) +set(WITH_OPENAL OFF CACHE FORCE BOOL) +set(WITH_CODEC_FFMPEG OFF CACHE FORCE BOOL) +set(WITH_CODEC_SNDFILE OFF CACHE FORCE BOOL) + +# other features which are not especially useful as a python module +set(WITH_X11_XINPUT OFF CACHE FORCE BOOL) +set(WITH_INPUT_NDOF OFF CACHE FORCE BOOL) |