1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 21:01:45 -05:00
sdrangel/debian/rules
Kacper Michajłow 305c97fc0e CMake: Make compiler flags selection and detection more flexible.
- Fix for RelWithDebInfo and MinSizeRel build types
- Use -march=native instead of handcrafted detection when possible
- Refactor whole thing to reduce code duplication
2020-11-20 11:04:51 +01:00

16 lines
533 B
Makefile
Executable File

#!/usr/bin/make -f
%:
dh $@ --parallel --buildsystem=cmake+ninja
override_dh_auto_configure:
dh_auto_configure -- -DARCH_OPT=nehalem -DENABLE_EXTERNAL_LIBRARIES=ON -DDEBUG_OUTPUT=ON -DBUILD_SERVER=OFF
override_dh_auto_test:
echo "Skipping test step"
# permit the packaging with /usr/local/lib libraries (from `make install`)
# you can also use `export DEB_DH_SHLIBDEPS_ARGS_ALL=--dpkg-shlibdeps-params=--ignore-missing-info`
# not a good idea!
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info