mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
b1d9a041d4
* various fixes: - add folder for firmware known as working with hyperion - rs232: add debug message for close and do not repeat "port not found" message more than neccessary - v4l2: fix grabber started on creation when set to disabled - cmake: add new platform x86-dev - this as most code coverage and is usefull for test/development. This is not for release * add hints for effect-args
31 lines
792 B
Bash
31 lines
792 B
Bash
#!/bin/bash
|
|
|
|
# for executing in non travis environment
|
|
[ -z "$TRAVIS_OS_NAME" ] && TRAVIS_OS_NAME="$( uname -s | tr '[:upper:]' '[:lower:]' )"
|
|
|
|
|
|
######################################
|
|
## COMPILE HYPERION
|
|
|
|
# compile hyperion on osx
|
|
if [[ $TRAVIS_OS_NAME == 'osx' ]]
|
|
then
|
|
cmake . -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.6.1-1
|
|
mkdir build || exit 1
|
|
cd build
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=ON -Wno-dev .. || exit 2
|
|
make -j$(nproc) || exit 3
|
|
# make -j$(nproc) package || exit 4 # currently osx(dmg) package creation not implemented
|
|
fi
|
|
|
|
# compile hyperion on linux
|
|
if [[ $TRAVIS_OS_NAME == 'linux' ]]
|
|
then
|
|
mkdir build || exit 1
|
|
cd build
|
|
cmake -DPLATFORM=x86-dev -DCMAKE_BUILD_TYPE=Release .. || exit 2
|
|
make -j$(nproc) || exit 3
|
|
make -j$(nproc) package || exit 4
|
|
fi
|
|
|