mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-02-19 16:22:52 +01:00
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:
committed by
Martin Ling
parent
506c8cb292
commit
48034f7e2e
@@ -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 ../..
|
||||
|
||||
@@ -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 ..
|
||||
|
||||
Reference in New Issue
Block a user