adding in device running to test on nano
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Building project | making build folder, and going into it..."
|
||||
rm -rf build &&
|
||||
mkdir build &&
|
||||
cd build &&
|
||||
|
||||
export CXX=/usr/bin/g++ &&
|
||||
export CC=/usr/bin/gcc &&
|
||||
|
||||
echo "Running cmake with build type Debug."
|
||||
cmake -Wall -DCMAKE_PREFIX_PATH=$HOME/Qt/5.15.14/gcc_64/ \
|
||||
-G "Unix Makefiles" \
|
||||
-DCMAKE_BUILD_TYPE=Debug .. &&
|
||||
|
||||
echo "====================="
|
||||
echo "Running make..."
|
||||
echo "====================="
|
||||
|
||||
make &&
|
||||
|
||||
echo "====================="
|
||||
echo "copy compile-commands.json to root folder..."
|
||||
echo "====================="
|
||||
cd .. &&
|
||||
cp build/compile_commands.json . &&
|
||||
|
||||
echo "====================="
|
||||
echo "running app"
|
||||
echo "====================="
|
||||
./build/MinimalQml
|
||||
Reference in New Issue
Block a user