feature/added cmake support for linux

This commit is contained in:
vladimir.kuznetsov 2022-11-20 21:25:15 +03:00
parent ac78a44d74
commit 3eb7e1392d
4 changed files with 45 additions and 26 deletions

View file

@ -47,16 +47,15 @@ echo "Using Qt in $QT_BIN_DIR"
# Checking env
$QT_BIN_DIR/qmake -v
make -v
$QT_BIN_DIR/qt-cmake --version
gcc -v
# Build App
echo "Building App..."
cd $BUILD_DIR
$QT_BIN_DIR/qmake $PROJECT_DIR/AmneziaVPN.pro 'CONFIG+=release CONFIG+=x86_64'
make
$QT_BIN_DIR/qt-cmake -S $PROJECT_DIR
cmake --build . --config release
# Build and run tests here