File: rules

package info (click to toggle)
rttr 0.9.6%2Bdfsg1-6
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 3,720 kB
  • sloc: cpp: 37,545; javascript: 115; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_CMAKE_PREFIX = /usr
BASE_CMAKE_DEFS = -DCMAKE_BUILD_TYPE=Release -DBUILD_UNIT_TESTS=false -DUSE_PCH=false -DBUILD_BENCHMARKS=false -DBUILD_EXAMPLES=false

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_INSTALL_PREFIX=$(DEB_CMAKE_PREFIX) \
		$(BASE_CMAKE_DEFS) \
		-DCMAKE_CXX_FLAGS="$(CXXFLAGS)"