Last active
February 6, 2021 05:30
-
-
Save afrontend/0285ff45d9bbe8816e3cc04fcb78045b to your computer and use it in GitHub Desktop.
Synergy 컴파일 하기 위한 스크립트 (v1.8.8) 그리고 synergy 설정 파일, https://agvim.wordpress.com/2018/02/24/synergy/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sample synergy configuration file | |
# | |
# comments begin with the # character and continue to the end of | |
# line. comments may appear anywhere the syntax permits. | |
section: screens | |
# three hosts named: moe, larry, and curly | |
moe: | |
larry: | |
curly: | |
end | |
section: links | |
# larry is to the left of moe and curly is to the right of moe | |
moe: | |
left = larry | |
right = larry | |
larry: | |
left = moe | |
right = moe | |
#curly: | |
#left = moe | |
end | |
section: aliases | |
# curly is also known as shemp | |
curly: | |
shemp | |
end | |
section: options | |
keystroke(Super+`) = switchInDirection(right) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Compile synergy 1.8.8 version | |
command -v wget >/dev/null 2>&1 || { echo >&2 "I require wget but it's not installed. Aborting."; exit 1; } | |
command -v unzip >/dev/null 2>&1 || { echo >&2 "I require unzip but it's not installed. Aborting."; exit 1; } | |
command -v cmake >/dev/null 2>&1 || { echo >&2 "I require cmake but it's not installed. Aborting."; exit 1; } | |
command -v make >/dev/null 2>&1 || { echo >&2 "I require make but it's not installed. Aborting."; exit 1; } | |
wget https://github.com/symless/synergy-core/archive/v1.8.8-stable.zip | |
unzip v1.8.8-stable.zip | |
cd synergy-core-1.8.8-stable/ext | |
unzip gmock-1.6.0.zip -d gmock-1.6.0 | |
unzip gtest-1.6.0.zip -d gtest-1.6.0 | |
cd .. | |
mkdir build | |
cd build | |
cmake .. | |
make | |
ls ../bin/synergyc ../bin/synergys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
실행하는 방법
Or
관련된 블로그 글