blender_full.cmake 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # Turn everything ON thats expected for an official release builds.
  2. #
  3. # Example usage:
  4. # cmake -C../blender/build_files/cmake/config/blender_full.cmake ../blender
  5. #
  6. set(WITH_ALEMBIC ON CACHE BOOL "" FORCE)
  7. set(WITH_BUILDINFO ON CACHE BOOL "" FORCE)
  8. set(WITH_BULLET ON CACHE BOOL "" FORCE)
  9. set(WITH_CODEC_AVI ON CACHE BOOL "" FORCE)
  10. set(WITH_CODEC_FFMPEG ON CACHE BOOL "" FORCE)
  11. set(WITH_CODEC_SNDFILE ON CACHE BOOL "" FORCE)
  12. set(WITH_CYCLES ON CACHE BOOL "" FORCE)
  13. set(WITH_CYCLES_OSL ON CACHE BOOL "" FORCE)
  14. set(WITH_CYCLES_OPENSUBDIV ON CACHE BOOL "" FORCE)
  15. set(WITH_FFTW3 ON CACHE BOOL "" FORCE)
  16. set(WITH_LIBMV ON CACHE BOOL "" FORCE)
  17. set(WITH_LIBMV_SCHUR_SPECIALIZATIONS ON CACHE BOOL "" FORCE)
  18. set(WITH_GAMEENGINE ON CACHE BOOL "" FORCE)
  19. set(WITH_COMPOSITOR ON CACHE BOOL "" FORCE)
  20. set(WITH_FREESTYLE ON CACHE BOOL "" FORCE)
  21. set(WITH_GHOST_XDND ON CACHE BOOL "" FORCE)
  22. set(WITH_IK_SOLVER ON CACHE BOOL "" FORCE)
  23. set(WITH_IK_ITASC ON CACHE BOOL "" FORCE)
  24. set(WITH_IMAGE_CINEON ON CACHE BOOL "" FORCE)
  25. set(WITH_IMAGE_DDS ON CACHE BOOL "" FORCE)
  26. set(WITH_IMAGE_FRAMESERVER ON CACHE BOOL "" FORCE)
  27. set(WITH_IMAGE_HDR ON CACHE BOOL "" FORCE)
  28. set(WITH_IMAGE_OPENEXR ON CACHE BOOL "" FORCE)
  29. set(WITH_IMAGE_OPENJPEG ON CACHE BOOL "" FORCE)
  30. set(WITH_IMAGE_TIFF ON CACHE BOOL "" FORCE)
  31. set(WITH_INPUT_NDOF ON CACHE BOOL "" FORCE)
  32. set(WITH_INTERNATIONAL ON CACHE BOOL "" FORCE)
  33. set(WITH_JACK ON CACHE BOOL "" FORCE)
  34. set(WITH_LZMA ON CACHE BOOL "" FORCE)
  35. set(WITH_LZO ON CACHE BOOL "" FORCE)
  36. set(WITH_MOD_BOOLEAN ON CACHE BOOL "" FORCE)
  37. set(WITH_MOD_FLUID ON CACHE BOOL "" FORCE)
  38. set(WITH_MOD_REMESH ON CACHE BOOL "" FORCE)
  39. set(WITH_MOD_SMOKE ON CACHE BOOL "" FORCE)
  40. set(WITH_MOD_OCEANSIM ON CACHE BOOL "" FORCE)
  41. set(WITH_AUDASPACE ON CACHE BOOL "" FORCE)
  42. set(WITH_OPENAL ON CACHE BOOL "" FORCE)
  43. set(WITH_OPENCOLLADA ON CACHE BOOL "" FORCE)
  44. set(WITH_OPENCOLORIO ON CACHE BOOL "" FORCE)
  45. set(WITH_OPENMP ON CACHE BOOL "" FORCE)
  46. set(WITH_OPENVDB ON CACHE BOOL "" FORCE)
  47. set(WITH_OPENVDB_BLOSC ON CACHE BOOL "" FORCE)
  48. set(WITH_PYTHON_INSTALL ON CACHE BOOL "" FORCE)
  49. set(WITH_RAYOPTIMIZATION ON CACHE BOOL "" FORCE)
  50. set(WITH_SDL ON CACHE BOOL "" FORCE)
  51. set(WITH_X11_XINPUT ON CACHE BOOL "" FORCE)
  52. set(WITH_X11_XF86VMODE ON CACHE BOOL "" FORCE)
  53. set(WITH_PLAYER ON CACHE BOOL "" FORCE)
  54. set(WITH_MEM_JEMALLOC ON CACHE BOOL "" FORCE)
  55. # platform dependent options
  56. if(UNIX AND NOT APPLE)
  57. set(WITH_JACK ON CACHE BOOL "" FORCE)
  58. set(WITH_DOC_MANPAGE ON CACHE BOOL "" FORCE)
  59. set(WITH_OPENSUBDIV ON CACHE BOOL "" FORCE)
  60. elseif(WIN32)
  61. set(WITH_JACK OFF CACHE BOOL "" FORCE)
  62. set(WITH_OPENSUBDIV ON CACHE BOOL "" FORCE)
  63. elseif(APPLE)
  64. set(WITH_JACK ON CACHE BOOL "" FORCE)
  65. set(WITH_CODEC_QUICKTIME OFF CACHE BOOL "" FORCE)
  66. set(WITH_OPENSUBDIV OFF CACHE BOOL "" FORCE)
  67. # include("${CMAKE_CURRENT_SOURCE_DIR}/../platform/platform_apple_xcode.cmake")
  68. # apple_check_quicktime()
  69. endif()