aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: 06511c389b48cfb75798b4c7c9cfbec90087107f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

ROOT="$(dirname "$(readlink -f "$0")")"

mkdir -p build
cd build

# Compile
qtchooser -run-tool=qmake -qt=5 -recursive "$ROOT" "QMAKE_RPATHDIR += ../qtmips_machine ../qtmips_osemu"
make sub-qtmips_cli sub-qtmips_gui # Note: we are building these to to not build tests

# Link executables to more suitable place
ln -fs qtmips_cli/qtmips_cli cli
ln -fs qtmips_gui/qtmips_gui gui