toxcore/other/travis/env-linux.sh
Maxim Biro 02e9cd38f1 Add option to build tox-bootstrapd
When cross-compiling to <target> from Linux, cmake might find native Linux
libconfig and decide to build tox-bootstrapd. If the target is Windows, this
will fail, as tox-bootstrapd can't be built for Windows in the first place. If
the target is Linux of some other architecture, then using host native
libconfig will fail too. Thus an option is needed to guard against this.
2016-10-05 23:47:39 -04:00

15 lines
108 B
Bash

#!/bin/sh
CMAKE=cmake
CMAKE_EXTRA_FLAGS=""
NPROC=`nproc`
CURDIR=$PWD
RUN() {
"$@"
}
TESTS() {
"$@"
}