Commit f14cf590 authored by Milan Jaros's avatar Milan Jaros
Browse files

add build script

parent ed1f9a1b
#!/bin/bash
ROOT_DIR=${PWD}
lib_dir=${ROOT_DIR}/install
output=${ROOT_DIR}/install/blender28
src=${ROOT_DIR}/src
#-----------blender--------------
mkdir -p ${ROOT_DIR}/build/blender28
cd ${ROOT_DIR}/build/blender28
make_d="-C${src}/blender/build_files/cmake/config/blender_release.cmake ${src}/blender"
make_d="${make_d} -DCMAKE_INSTALL_PREFIX=${output}"
make_d="${make_d} -DCMAKE_BUILD_TYPE=Release"
cmake ${make_d}
make -j install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment