Files
gstreamerViewer/build.sh
Maik Jurischka 69e2f3ae1d first commit
2025-12-18 16:10:55 +01:00

29 lines
506 B
Bash
Executable File

#!/bin/bash
# Build script for gstreamerViewer
set -e # Exit on error
echo "=== Building gstreamerViewer ==="
# Create build directory if it doesn't exist
if [ ! -d "build" ]; then
echo "Creating build directory..."
mkdir -p build
fi
cd build
echo "Running CMake..."
cmake ..
echo "Building with make..."
make -j$(nproc)
echo ""
echo "=== Build successful! ==="
echo "Executable: $(pwd)/gstreamerViewer"
echo ""
echo "To run the application:"
echo " cd build && ./gstreamerViewer"
echo ""