re-organize folder structure

This commit is contained in:
Maik Jurischka
2025-12-19 13:04:26 +01:00
parent 01ef031fcd
commit 34ed5b2216
20 changed files with 22 additions and 15 deletions

28
scripts/build.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/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 ""