Work on build scripts.

master
Dominik Deák 5 years ago
parent 2fe0a209f5
commit 6d35ca5508
No known key found for this signature in database
GPG Key ID: 85514EC0CCE7007C
  1. 37
      Documentation/buildLinux.txt
  2. 2
      Documentation/buildWindows.txt
  3. 39
      buildLinux.sh
  4. 5
      buildWindows.cmd

@ -0,0 +1,37 @@
NAME
buildLinux.sh - Build Linux Binaries for Synergy
SYNOPSIS
./buildLinux.sh [OPTION]
DESCRIPTION
This is a utility script for building Synergy binaries and distribution packages.
The script will build the latest snapshot from the Synergy-Core submodule.
-h, --help
Display this help message.
--cmake
Build binaries only with CMake.
--appimage
Build an AppImage package.
--deb
Build a Debian package.
--all
Build all packages.
--clean
Clean the build and output locations."

@ -11,7 +11,7 @@ DESCRIPTION
This is a utility script for building Synergy binaries and distribution packages.
The script will build the latest snapshot from the Synergy-Core submodule.
--help
-h, --help
Display this help message.

@ -120,44 +120,7 @@ buildClean() {
if [ "${1}" = "--help" ] || [ "${1}" = "-h" ]; then
echo \
"NAME
${0} - Build Linux Binaries for Synergy
SYNOPSIS
${0} [OPTION]
DESCRIPTION
This is a utility script for building Synergy binaries and distribution packages.
The script will build the latest snapshot from the Synergy-Core submodule.
-h, --help
Display this help message.
--cmake
Build binaries only with CMake.
--appimage
Build an AppImage package.
--deb
Build a Debian package.
--all
Build all packages.
--clean
Clean the build and output locations."
cat "${toplevelPath}\Documentation\buildLinux.txt"
exit 0
elif [ "${1}" = "--cmake" ]; then

@ -47,6 +47,11 @@ if [%1] equ [--help] (
type "%toplevelPath%\Documentation\buildWindows.txt"
exit 0
) else if [%1] equ [-h] (
type "%toplevelPath%\Documentation\buildWindows.txt"
exit 0
) else if [%1] equ [--msbuild] (
call :configure

Loading…
Cancel
Save