blender_release.cmake 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Turn everything ON thats expected for an official release builds.
  2. #
  3. # Example usage:
  4. # cmake -C../blender/build_files/cmake/config/blender_release.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. set(WITH_CYCLES_CUDA_BINARIES ON CACHE BOOL "" FORCE)
  56. set(CYCLES_CUDA_BINARIES_ARCH sm_20;sm_21;sm_30;sm_35;sm_37;sm_50;sm_52;sm_60;sm_61 CACHE STRING "" FORCE)
  57. # platform dependent options
  58. if(UNIX AND NOT APPLE)
  59. set(WITH_JACK ON CACHE BOOL "" FORCE)
  60. set(WITH_DOC_MANPAGE ON CACHE BOOL "" FORCE)
  61. set(WITH_OPENSUBDIV ON CACHE BOOL "" FORCE)
  62. elseif(WIN32)
  63. set(WITH_JACK OFF CACHE BOOL "" FORCE)
  64. set(WITH_OPENSUBDIV ON CACHE BOOL "" FORCE)
  65. elseif(APPLE)
  66. set(WITH_JACK ON CACHE BOOL "" FORCE)
  67. set(WITH_CODEC_QUICKTIME OFF CACHE BOOL "" FORCE)
  68. set(WITH_OPENSUBDIV OFF CACHE BOOL "" FORCE)
  69. # include("${CMAKE_CURRENT_SOURCE_DIR}/../platform/platform_apple_xcode.cmake")
  70. # apple_check_quicktime()
  71. endif()