Ajouter les scripts de build et la documentation

Signed-off-by: BlackAngelTV <dami.scoot3@gmail.com>
This commit is contained in:
BlackAngelTV committed 2026-08-24 21:13:51 +02:00
1 parent 2894f193f7
commit f63a47c9ef
3 files changed
+360

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
#!/bin/bash
set -e
echo "🔨 Compilation de PackageMapper..."
# Create build directory
mkdir -p build
cd build
# Configure
echo "⚙️ Configuration CMake..."
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
# Build everything
echo "🏗️ Compilation..."
make -j$(nproc)
echo ""
echo "✅ Compilation terminée !"
echo ""
echo "📋 Pour lancer :"
echo " ./PackageMapper"
echo ""
echo "📋 Pour installer :"
echo " sudo make install"
echo ""
echo "📋 Pour copier les plugins (user mode) :"
echo " mkdir -p ~/.local/lib/PackageMapper/plugins"
echo " cp plugins/*/lib*.so ~/.local/lib/PackageMapper/plugins/"
echo ""