Work on build script.

master
Dominik Deak 5 years ago
parent 1ff35b5fbe
commit 742faee6fc
  1. 7
      BuildLinux.sh

@ -14,12 +14,9 @@ synergyVersion="${SYNERGY_VERSION_MAJOR}.${SYNERGY_VERSION_MINOR}.${SYNERGY_VERS
buildCMake() {
pushd "${buildPath}" || exit 1
cmake -S "${synergyCorePath}" -B "${buildPath}" -D CMAKE_BUILD_TYPE=MINSIZEREL -D SYNERGY_ENTERPRISE=ON || exit 1
cmake --build "${buildPath}" --parallel 8 || exit 1
popd
}
buildAppImage() {
@ -48,6 +45,7 @@ buildAppImage() {
mv "${buildPath}/"*.AppImage "${binariesPath}"
popd
}
buildDeb() {
@ -60,8 +58,6 @@ buildDeb() {
popd
pushd "${buildPath}" || exit 1
mv "${synergyCorePath}/../"*.deb "${binariesPath}"
rename "s/(\\d+\\.\\d+.\\d+)/\$1-${linuxVersion}/g" "${binariesPath}"/*.deb
@ -69,7 +65,6 @@ buildDeb() {
mv "${synergyCorePath}/../synergy_${synergyVersion}"* "${buildPath}"
mv "${synergyCorePath}/../synergy-dbgsym_${synergyVersion}"* "${buildPath}"
popd
}
buildClean() {

Loading…
Cancel
Save