File: rules

package info (click to toggle)
ftxui 5.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,084 kB
  • sloc: cpp: 23,669; xml: 211; sh: 25; javascript: 20; python: 16; makefile: 15
file content (20 lines) | stat: -rwxr-xr-x 549 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	-DCMAKE_BUILD_TYPE="Release" \
	-DFTXUI_ENABLE_INSTALL=ON \
	-DFTXUI_BUILD_EXAMPLES=ON \
	-DFTXUI_BUILD_DOCS=ON \
	-DBUILD_SHARED_LIBS=ON \
	-DCMAKE_CXX_INCLUDE_WHAT_YOU_USE="include-what-you-use;-Xiwyu;--cxx17ns;-Xiwyu;--mapping_file=$(CURDIR)/iwyu.imp;-Xiwyu;--no-default-mappings"

override_dh_auto_install:
	dh_auto_install --destdir debian/tmp

override_dh_installexamples:
	dh_installexamples -X CMakeLists.txt