mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
1763fa495b
We use CPACK (cmake helper) to package the software - macOS: we build the .APP and .dmg with all dependencies, like qt, soapysdr and all others sdr drivers. ENABLE_MIRSDRAPI control if we remove the mirsdrapi dylib because it is not public distribuitable; so should be used only on "private" environment. TODO: - code/dmg signature - Debian: make deb with dependencies for Debian 10/9 and Ubuntu 18.04/16.04. TODO: - probably to send the package to upstream we need to use debhelper and debian/ - Fedora/rpm: just basic declaration TODO: - write correctly dependencies
11 lines
188 B
Bash
Executable File
11 lines
188 B
Bash
Executable File
#!/bin/sh
|
|
|
|
get_abs_dir() {
|
|
# $1 : relative filename
|
|
echo "$(cd "$(dirname "$1")" && pwd)"
|
|
}
|
|
|
|
SDRANGEL_RESOURCES="$(get_abs_dir "$0")/../Resources"
|
|
exec "$SDRANGEL_RESOURCES/sdrangel"
|
|
|