File: rules

package info (click to toggle)
boost-ext-ut 2.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 620 kB
  • sloc: cpp: 6,773; makefile: 13; sh: 10
file content (17 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -rf

ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
CONFIGURE_FLAGS += \
	-DBOOST_UT_BUILD_EXAMPLES=OFF \
	-DBOOST_UT_BUILD_TESTS=OFF
else
CONFIGURE_FLAGS += \
	-DBOOST_UT_BUILD_BENCHMARKS=ON \
	-DBOOST_UT_ENABLE_MEMCHECK=ON
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)