mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
19 lines
300 B
Bash
Executable File
19 lines
300 B
Bash
Executable File
curdir=`pwd`
|
|
|
|
# You can choose your own OpenSubdiv repo path if required.
|
|
# osd_path=${curdir}/deps/OpenSubdiv
|
|
#
|
|
# -Dosd_DIR=${osd_path}
|
|
|
|
builddir=${curdir}/build
|
|
|
|
rm -rf ${builddir}
|
|
mkdir ${builddir}
|
|
|
|
|
|
cd ${builddir} && cmake \
|
|
-DCMAKE_VERBOSE_MAKEFILE=1 \
|
|
-DTINYUSDZ_WITH_OPENSUBDIV=On \
|
|
..
|
|
|