Debian Codegraph @

build/msys2/README.md

raw
1
2 crystal-facet-uml - build for windows using msys2
3 =============
4
5 How to build from source
6 -----------
7
8 install msys2.
9
10 update the package databases:
11
12 > pacman -Syu
13
14 install packages using pacman:
15
16 > pacman -S git
17 >
18 > pacman -S mingw-w64-ucrt-x86_64-sqlite3
19 >
20 > pacman -S mingw-w64-ucrt-x86_64-gtk4
21 >
22 > pacman -S mingw-w64-x86_64-vulkan
23 >
24 > pacman -S mingw-w64-ucrt-x86_64-gcc
25 >
26 > pacman -S make
27 >
28 > pacman -S cmake
29 >
30 > pacman -S mingw-w64-ucrt-x86_64-7zip
31
32 get crystal-facet-uml:
33
34 > git clone https://github.com/awarnke/crystal-facet-uml.git
35
36 build (adapt the path to the source code ../crystal-facet-uml):
37
38 > cmake -DCMAKE_BUILD_TYPE=Release ../crystal-facet-uml
39 >
40 > make --debug=p -j
41
42 deploy:
43
44 > make msys2_deploy
45
46 see also https://www.gtk.org/docs/installations/windows
47
48 run:
49
50 > append 'C:/msys64/mingw64/share' to XDG_DATA_HOME and XDG_DATA_DIRS if needed
51