update scripts

Modernize CMake usage in scripts to define a build directory
using the cmake -B flag, use cmake --build rather than just make.
This commit is contained in:
A. Maitland Bottoms
2025-08-17 16:27:40 -04:00
committed by Martin Ling
parent 506c8cb292
commit 48034f7e2e
2 changed files with 8 additions and 10 deletions

View File

@@ -2,8 +2,7 @@
set -e
git submodule init
git submodule update
mkdir firmware/hackrf_usb/build
cd firmware/hackrf_usb/build
cmake ..
make
cd ../../..
cd firmware/hackrf_usb
cmake -B build
cmake --build build
cd ../..

View File

@@ -1,7 +1,6 @@
#!/bin/bash
set -e
mkdir host/build
cd host/build
cmake ..
make
cd ../..
cd host
cmake -B build
cmake --build build
cd ..