This repository was archived by the owner on Nov 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +39
-5
lines changed
Expand file tree Collapse file tree 2 files changed +39
-5
lines changed Original file line number Diff line number Diff line change 5555 cd build-geodiff
5656
5757 call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
58- cmake -DBUILD_STATIC=TRUE - DENABLE_TESTS=FALSE ..\geodiff\geodiff
58+ cmake -DENABLE_TESTS=FALSE ..\geodiff\geodiff
5959 cmake --build . --config Release
6060
6161 - name : build mergin-cpp-client
6868 call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
6969 qmake ..\mergin-cpp-client\src\client.pro CONFIG+=release CONFIG+=static
7070 nmake release
71- dir
71+
72+ - name : create release folder
73+ shell : cmd
74+ run : |
75+ mkdir rel
76+ cd rel
77+ copy build-mergin-cpp-client\release\mergin.exe mergin.exe
78+ copy build-geodiff\Release\geodiff.dll geodiff.dll
79+ windeployqt --release --verbose 2 mergin.exe
7280
7381 - name : run mergin tests
7482 run : |
75- cd build-mergin-cpp-client/release
76- mergin --help
83+ cd rel
84+ mergin.exe --help
Original file line number Diff line number Diff line change @@ -36,7 +36,33 @@ Commands:
3636
3737### Compilation
3838
39- TODO
39+ #### Windows
40+
41+ For CI setup, see this [ GitHub Action] ( .github/workflows/windows.yml )
42+
43+ 1 . Install Visual Studio (At least c++ compiler)
44+ 2 . Install Qt5 (some recent version, 5.14.x or 5.15.x)
45+ 3 . Install Cmake
46+ 4 . Compile [ Geodiff] ( https://github.com/lutraconsulting/geodiff )
47+ ```
48+ <in VS cmd>
49+ git clone https://github.com/lutraconsulting/geodiff
50+ cd build-geodiff
51+ cmake ..\geodiff\geodiff
52+ cmake --build . --config Release
53+ ```
54+ 5 . Download Input
55+ ```
56+ git clone https://github.com/lutraconsulting/input
57+ git checkout mergin_cpp
58+ ```
59+ 6 . Compile Client
60+ ```
61+ <in VS cmd>
62+ cd build-client
63+ qmake ..\mergin-cpp-client\src\client.pro
64+ nmake release
65+ ```
4066
4167### Tests
4268TODO
You can’t perform that action at this time.
0 commit comments