Files
BinderBeispielRegler/localbuild.sh
2026-03-30 13:03:47 +02:00

22 lines
425 B
Bash
Executable File

#!/bin/sh
# Remove old cmake build contents to start fresh like ci would do
rm -r build
# enable CMake to find Qt6
export Qt6_DIR=$HOME/Qt/6.10.2/gcc_64/lib/cmake/Qt6
# project configuration
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
#build executable
make -j$(nproc) --directory=build
echo ""
echo ""
echo "------------------------"
echo "run with './build/app/app'"
echo "------------------------"
echo ""
echo ""