Skip to content

Instantly share code, notes, and snippets.

@aras-p
Last active March 26, 2024 19:48
Show Gist options
  • Save aras-p/b410f380c830af0eb45f7d7cdb96a74f to your computer and use it in GitHub Desktop.
Save aras-p/b410f380c830af0eb45f7d7cdb96a74f to your computer and use it in GitHub Desktop.
Blender build options
# windows:
make developer nobuild
cd ..\build_windows_x64_vc17_Release
cmake -DWITH_PYTHON_SAFETY=OFF -DWITH_ASSERT_ABORT=OFF -DWITH_ASSERT_RELEASE=OFF -DWITH_RENDERDOC=ON .
#/usr/bin/sh
#cmake . -B ../build_xcode/ -G "Xcode" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/Users/aras/code/blender/build_xcode/bin/RelWithDebInfo -DWITH_GTESTS=ON -DWITH_BUILDINFO=OFF -DWITH_LIBMV_SCHUR_SPECIALIZATIONS=OFF -DWITH_CYCLES_NATIVE_ONLY=ON -DWITH_UNITY_BUILD=OFF
#cmake . -B ../build_xcode/ -G "Xcode" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/Users/aras/code/blender/build_xcode/bin/RelWithDebInfo -DWITH_GTESTS=ON -DWITH_BUILDINFO=OFF -DWITH_LIBMV_SCHUR_SPECIALIZATIONS=OFF -DWITH_CYCLES_NATIVE_ONLY=ON -DWITH_UNITY_BUILD=OFF -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
cmake . -B ../build_xcode/ -G "Xcode" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/Users/aras/code/blender/build_xcode/bin/RelWithDebInfo -DWITH_GTESTS=ON -DWITH_COMPILER_CCACHE=ON -DWITH_BUILDINFO=OFF -DWITH_CYCLES_OSL=OFF -DWITH_LIBMV_SCHUR_SPECIALIZATIONS=OFF -DWITH_CYCLES_NATIVE_ONLY=ON -DWITH_COMPILER_ASAN=OFF -DWITH_ASSERT_RELEASE=OFF
# testing:
# --gtest_filter=obj*
# --test_assets_dir=/Users/aras/code/blender/lib/tests
# --test-release-dir=/Users/aras/code/blender/build_xcode/bin/Debug/Blender.app/Contents/Resources/3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment