blender_lite.cmake 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # turn everything OFF except for python which defaults to ON
  2. # and is needed for the UI
  3. #
  4. # Example usage:
  5. # cmake -C../blender/build_files/cmake/config/blender_lite.cmake ../blender
  6. #
  7. set(WITH_INSTALL_PORTABLE ON CACHE BOOL "" FORCE)
  8. set(WITH_SYSTEM_GLEW ON CACHE BOOL "" FORCE)
  9. set(WITH_ALEMBIC OFF CACHE BOOL "" FORCE)
  10. set(WITH_BUILDINFO OFF CACHE BOOL "" FORCE)
  11. set(WITH_BULLET OFF CACHE BOOL "" FORCE)
  12. set(WITH_CODEC_AVI OFF CACHE BOOL "" FORCE)
  13. set(WITH_CODEC_FFMPEG OFF CACHE BOOL "" FORCE)
  14. set(WITH_CODEC_SNDFILE OFF CACHE BOOL "" FORCE)
  15. set(WITH_CYCLES OFF CACHE BOOL "" FORCE)
  16. set(WITH_CYCLES_OSL OFF CACHE BOOL "" FORCE)
  17. set(WITH_CYCLES_OPENSUBDIV OFF CACHE BOOL "" FORCE)
  18. set(WITH_FFTW3 OFF CACHE BOOL "" FORCE)
  19. set(WITH_LIBMV OFF CACHE BOOL "" FORCE)
  20. set(WITH_LLVM OFF CACHE BOOL "" FORCE)
  21. set(WITH_GAMEENGINE OFF CACHE BOOL "" FORCE)
  22. set(WITH_COMPOSITOR OFF CACHE BOOL "" FORCE)
  23. set(WITH_FREESTYLE OFF CACHE BOOL "" FORCE)
  24. set(WITH_GHOST_XDND OFF CACHE BOOL "" FORCE)
  25. set(WITH_IK_SOLVER OFF CACHE BOOL "" FORCE)
  26. set(WITH_IK_ITASC OFF CACHE BOOL "" FORCE)
  27. set(WITH_IMAGE_CINEON OFF CACHE BOOL "" FORCE)
  28. set(WITH_IMAGE_DDS OFF CACHE BOOL "" FORCE)
  29. set(WITH_IMAGE_FRAMESERVER OFF CACHE BOOL "" FORCE)
  30. set(WITH_IMAGE_HDR OFF CACHE BOOL "" FORCE)
  31. set(WITH_IMAGE_OPENEXR OFF CACHE BOOL "" FORCE)
  32. set(WITH_IMAGE_OPENJPEG OFF CACHE BOOL "" FORCE)
  33. set(WITH_IMAGE_TIFF OFF CACHE BOOL "" FORCE)
  34. set(WITH_INPUT_NDOF OFF CACHE BOOL "" FORCE)
  35. set(WITH_INTERNATIONAL OFF CACHE BOOL "" FORCE)
  36. set(WITH_JACK OFF CACHE BOOL "" FORCE)
  37. set(WITH_LZMA OFF CACHE BOOL "" FORCE)
  38. set(WITH_LZO OFF CACHE BOOL "" FORCE)
  39. set(WITH_MOD_BOOLEAN OFF CACHE BOOL "" FORCE)
  40. set(WITH_MOD_FLUID OFF CACHE BOOL "" FORCE)
  41. set(WITH_MOD_REMESH OFF CACHE BOOL "" FORCE)
  42. set(WITH_MOD_SMOKE OFF CACHE BOOL "" FORCE)
  43. set(WITH_MOD_OCEANSIM OFF CACHE BOOL "" FORCE)
  44. set(WITH_AUDASPACE OFF CACHE BOOL "" FORCE)
  45. set(WITH_OPENAL OFF CACHE BOOL "" FORCE)
  46. set(WITH_OPENCOLLADA OFF CACHE BOOL "" FORCE)
  47. set(WITH_OPENCOLORIO OFF CACHE BOOL "" FORCE)
  48. set(WITH_OPENIMAGEIO OFF CACHE BOOL "" FORCE)
  49. set(WITH_OPENMP OFF CACHE BOOL "" FORCE)
  50. set(WITH_OPENSUBDIV OFF CACHE BOOL "" FORCE)
  51. set(WITH_OPENVDB OFF CACHE BOOL "" FORCE)
  52. set(WITH_RAYOPTIMIZATION OFF CACHE BOOL "" FORCE)
  53. set(WITH_SDL OFF CACHE BOOL "" FORCE)
  54. set(WITH_X11_XINPUT OFF CACHE BOOL "" FORCE)
  55. set(WITH_X11_XF86VMODE OFF CACHE BOOL "" FORCE)
  56. if(APPLE)
  57. set(WITH_CODEC_QUICKTIME OFF CACHE BOOL "" FORCE)
  58. endif()