Added qmake in to linux pipeline

This commit is contained in:
Matthew Budd 2020-06-30 22:04:50 -04:00
parent 588d566b92
commit 9407867e18
1 changed files with 11 additions and 10 deletions

View File

@ -67,10 +67,10 @@ sudo apt-get --assume-yes install libgtksourceview-3.0-dev
pkg-config --cflags --libs gtksourceview-3.0 pkg-config --cflags --libs gtksourceview-3.0
# Install scons # Install scons
echo '****************************************' #echo '****************************************'
echo 'Install Build Dependency scons' #echo 'Install Build Dependency scons'
echo '****************************************' #echo '****************************************'
sudo apt-get --assume-yes install scons #sudo apt-get --assume-yes install scons
# Install cppcheck # Install cppcheck
echo '****************************************' echo '****************************************'
@ -86,13 +86,14 @@ mkdir -p $INSTALL_PREFIX/usr;
#scons GTK3=1 SYSTEM_LUA=1 SYSTEM_MINIZIP=1 CREATE_AVI=1 install --prefix=$INSTALL_PREFIX/usr #scons GTK3=1 SYSTEM_LUA=1 SYSTEM_MINIZIP=1 CREATE_AVI=1 install --prefix=$INSTALL_PREFIX/usr
echo "Num CPU: `nproc`"; echo "Num CPU: `nproc`";
mkdir build; cd build; mkdir build; cd build;
cmake \ qmake ..
-DCMAKE_BUILD_TYPE=Release \ #cmake \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX/usr \ # -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ # -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX/usr \
.. # -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
# ..
make -j `nproc` make -j `nproc`
make install #make install
# Debug via ssh if necessary # Debug via ssh if necessary
if [ ! -z $APPVEYOR_SSH_BLOCK ]; then if [ ! -z $APPVEYOR_SSH_BLOCK ]; then