Compilation
Voici les instructions pour compiler la bibliothèque LiteSync à partir du code source.
Compilation sur Linux et Mac
1. Télécharger et compiler libuv
sudo apt-get install automake libtool libreadline-dev -y
git clone https://github.com/libuv/libuv --depth=1
cd libuv
./autogen.sh
./configure
make
sudo make install
sudo ldconfig
cd ..
2. Télécharger et compiler binn
git clone https://github.com/liteserver/binn
cd binn
make
sudo make install
cd ..
3. Compiler LiteSync
git clone https://gitlab.com/xxx/litesync-release litesync
cd litesync
make
sudo make install
cd ..
Compilation sur Windows avec MinGW
1. Télécharger et compiler libuv
git clone https://github.com/libuv/libuv --depth=1
cd libuv
sh autogen.sh
./configure
make
cd ..
2. Télécharger et compiler binn
git clone https://github.com/liteserver/binn
cd binn
make
cd ..
3. Compiler LiteSync
git clone https://gitlab.com/xxx/litesync-release litesync
cd litesync
make
cd ..
Compilation sur Windows avec Visual Studio
D'abord télecharger et compiler libuv et Binn
Ouvrer ensuite le fichier de solution Visual Studio disponible dans le sous-dossier win32, sélectionnez Libérer et Générer.