build: add build scripts and documentation
This commit is contained in:
1 parent
bd0c9bf37c
commit
cb4c68638a
3 files changed
+360
No files matched your search
@@ -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 ""
|
||||
Reference in new issue
Block a user