File: rules

package info (click to toggle)
alembic-graphics 1.8.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,708 kB
  • sloc: cpp: 89,261; python: 8,053; makefile: 19; csh: 4
file content (30 lines) | stat: -rwxr-xr-x 934 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem cmake

# I want to use pyalembic, but the build doesn't work with it at the moment. It
# has ALEMBIC_PYILMBASE_PYIMATH_LIB="Imath::PyImath_Python3_13". This is string
# variable, but the build tries using it as a target: using it in
# get_target_property() and target_link_libraries(). So I don't bother
#
# CMAKE_INSTALL_PREFIX=/usr is required to make the libraries go to
# /usr/lib/ARCH. Otherwise INCLUDE(GNUInstallDirs) does something else
override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DUSE_ARNOLD=OFF \
		-DUSE_BINARIES=ON \
		-DUSE_EXAMPLES=OFF \
		-DUSE_HDF5=ON \
		-DUSE_MAYA=OFF \
		-DUSE_PRMAN=OFF \
		-DUSE_PYALEMBIC=OFF \
		-DUSE_STATIC_BOOST=OFF \
		-DUSE_STATIC_HDF5=OFF \
		-DUSE_TESTS=ON \
		-DALEMBIC_BUILD_LIBS=ON \
		-DALEMBIC_ILMBASE_LINK_STATIC=OFF \
		-DALEMBIC_SHARED_LIBS=ON