Update studio build script and instructions.

Mujoco studio now works on Windows and MacOS.

PiperOrigin-RevId: 840235447
Change-Id: I66d3430d5d994de2eb13ee08ad3051c6c7187e12
This commit is contained in:
Haroon Qureshi
2025-12-04 07:26:41 -08:00
committed by Copybara-Service
parent c5cd276e1f
commit 680e9a6b79
3 changed files with 8 additions and 17 deletions
+7 -1
View File
@@ -61,7 +61,7 @@ if [[ "$do_configure" == true ]]; then
"-DCMAKE_BUILD_TYPE=${build_type}"
"-DUSE_STATIC_LIBCXX=OFF"
"-DBUILD_SHARED_LIB=OFF"
"-DMUJOCO_USE_FILAMENT=OFF"
"-DMUJOCO_USE_FILAMENT=ON"
"-DMUJOCO_USE_FILAMENT_VULKAN=OFF"
"-DMUJOCO_BUILD_EXAMPLES=OFF"
"-DMUJOCO_BUILD_SIMULATE=OFF"
@@ -69,6 +69,12 @@ if [[ "$do_configure" == true ]]; then
"-DMUJOCO_TEST_PYTHON_UTIL=OFF"
"-DMUJOCO_WITH_USD=OFF"
"-DMUJOCO_BUILD_STUDIO=ON"
"-DFILAMENT_SKIP_SAMPLES=ON"
# Several dependencies generate deprecated warnings on MacOS.
"-DCMAKE_CXX_FLAGS=\"-Wno-error=deprecated-declarations\""
# This flag defines _ITERATOR_DEBUG_LEVEL=0 which conflicts with debug
# builds.
"-DFILAMENT_SHORTEN_MSVC_COMPILATION=OFF"
)
# Add user-defined CMAKE_ARGS at the end so they override other settings.