#!/usr/bin/make -f

export DH_VERBOSE=1
export PYBUILD_NAME= opentimelineio
export PYBUILD_SYSTEM= setuptools

%:
	dh $@ --buildsystem=cmake --with python3

override_dh_auto_configure:
	dh_auto_configure -- \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DOTIO_FIND_IMATH=ON \
	-DOTIO_AUTOMATIC_SUBMODULES=OFF \
	-DOTIO_DEPENDENCIES_INSTALL=OFF \
	-DOTIO_CXX_EXAMPLES=ON

override_dh_auto_clean:
	rm -rf build

override_dh_auto_test:
	echo "no tests"
