Skip to content

Commit 36c7046

Browse files
committed
README: update build instructions
1 parent e8eadc7 commit 36c7046

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,30 @@ select the last successful one and download the wanted artifact.
7676
After cloning the repo, do
7777

7878
```
79-
git submodule init
80-
git submodule update
79+
git submodule update --init
8180
```
81+
Depending on which OS you are on, you end up with a debug version packaged
82+
as a .deb, .dmg or .exe you can install:
8283

83-
To build:
84+
#### Linux
8485

8586
```
8687
mkdir build
8788
cd build
88-
cmake ..
89+
cmake .. -DCMAKE_BUILD_TYPE=Debug
8990
cmake --build .
9091
cpack
9192
```
9293

93-
Depending on which OS you are on, you end up with a .deb, .dmg or .exe you can install.
94+
#### MacOS/Windows
95+
96+
```
97+
conan install . --output-folder=build --build=missing -s build_type=Debug
98+
cd build
99+
cmake .. -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_BUILD_TYPE=Debug
100+
cmake --build .
101+
cpack
102+
```
94103

95104
### MultiVNC for Android
96105

0 commit comments

Comments
 (0)