build script for macos now uses cmake

This commit is contained in:
vladimir.kuznetsov 2022-11-29 22:44:29 +03:00
parent 1335c94bbc
commit 56b9972053
2 changed files with 7 additions and 4 deletions

View file

@ -49,16 +49,18 @@ echo "Using QIF in $QIF_BIN_DIR"
# Checking env
$QT_BIN_DIR/qmake -v
make -v
$QT_BIN_DIR/qt-cmake --version
cmake --version
clang -v
# Build App
echo "Building App..."
cd $BUILD_DIR
$QT_BIN_DIR/qmake $PROJECT_DIR/AmneziaVPN.pro 'CONFIG+=release CONFIG+=x86_64'
make -j `sysctl -n hw.ncpu`
$QT_BIN_DIR/qt-cmake -S $PROJECT_DIR -B $BUILD_DIR
cmake --build . --config release
# $QT_BIN_DIR/qmake $PROJECT_DIR/AmneziaVPN.pro 'CONFIG+=release CONFIG+=x86_64'
# make -j `sysctl -n hw.ncpu`
# Build and run tests here