source: xplra/buildallhosts.sh

Last change on this file was 102:f3d89fdc5bd8, checked in by István Váradi <ivaradi@…>, 5 years ago

32-bit binaries are not built by the main build script

  • Property exe set to *
File size: 883 bytes
Line 
1#!/bin/bash
2
3set -e -u
4
5# Script to build all components needed for the X-Plane Remote Access plugin
6# for all supported hosts.
7#
8# Usage: buildallhosts.sh <configuration file> <destination directory> [<C/C++ flags>]
9#
10# The C/C++ flags default to -O2
11
12scriptdir=`dirname $0`
13
14if test $# -lt 2; then
15 echo "Usage: buildallhosts.sh <configuration file> <destination directory> [<C/C++ flags>]"
16 exit 1
17fi
18
19config="${1}"
20dest="${2}"
21cflags="${3:-}"
22if test -z "${cflags}"; then
23 cflags="-O2"
24fi
25
26"${scriptdir}/buildall.sh" "${config}" "${dest}/xpl" x86_64-linux-gnu "${cflags}"
27#echo
28#echo
29#"${scriptdir}/buildall.sh" "${config}" "${dest}/xpl-32" i686-linux-gnu "${cflags}"
30#echo
31#echo
32#"${scriptdir}/buildall.sh" "${config}" "${dest}/xpl-win32" i686-w64-mingw32 "${cflags}"
33echo
34echo
35"${scriptdir}/buildall.sh" "${config}" "${dest}/xpl-win64" x86_64-w64-mingw32 "${cflags}"
Note: See TracBrowser for help on using the repository browser.