Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # The package ships the architecture independent library.
4 CMAKE_FLAGS = -DCMAKE_INSTALL_LIBDIR=lib -DINTERNAL_EXPECTED=OFF
5
6 # Don't build the tests and the examples in the "nocheck" profile.
7 ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
8 CMAKE_FLAGS += -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
9 endif
10
11 # Don't generate the manual page if we've been instructed not to do.
12 ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
13 CMAKE_FLAGS += -DRONN=RONN-NOTFOUND
14 endif
15
16 # Put the generated code to a cleanable temporary directory.
17 CMAKE_FLAGS += -DGENERATED_DIR=$(CURDIR)/debian/tmp
18
19 # Search Girs in the arch-dependent directory as well.
20 CMAKE_FLAGS += -DGIR_DIR=/usr/lib/${DEB_HOST_MULTIARCH}/gir-1.0
21
22 # Disable predefined macros outside the reserved namespace
23 # so stringification with preprocessor can work okay.
24 CMAKE_FLAGS += -DCMAKE_CXX_EXTENSIONS=OFF
25
26 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
27 export GI_DEBUG = 1 # suppress warnings from a cppgir call
28
29 %:
30 dh $@
31
32 override_dh_auto_configure:
33 dh_auto_configure -- $(CMAKE_FLAGS)