debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | #DH_VERBOSE = 1 |
| 3 | |
| 4 | -include /usr/share/mpi-default-dev/debian_defaults |
| 5 | |
| 6 | # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* |
| 7 | DPKG_EXPORT_BUILDFLAGS = 1 |
| 8 | include /usr/share/dpkg/default.mk |
| 9 | |
| 10 | %: |
| 11 | dh $@ --buildsystem=cmake |
| 12 | |
| 13 | override_dh_auto_configure: |
| 14 | dh_auto_configure -- \ |
| 15 | -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ |
| 16 | -DBUILD_SHARED_LIBS=NO \ |
| 17 | -DBUILD_TESTING=YES |