Ajouter les scripts de build et la documentation

- build.sh : compilation automatique
- install_plugins.sh : installation des plugins utilisateur
- README.md : documentation complète avec mockup ASCII
This commit is contained in:
Damien committed 2026-08-24 21:08:21 +02:00
1 parent 5e7f8e8904
commit 06296a0958
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 ""