1# Building on Windows (MSVC)
2
3> you install VisualStudio community edition, python, git (those 3 are just click click installers) then open "Developer powershell for VS2019" (you should have that in windows apps after installing vs), pip install meson, git clone `your_project`, meson build, ninja -C build
4> what are you supposed to do about dependencies btw? what's the general practice?
5> Port them all to meson and build them as subproject
6
7> chocolatey also has packages for all those things: https://gitlab.gnome.org/creiter/gitlab-ci-win32-runner-v2/-/blob/master/ansible/setup.yml#L57
8> nice! does meson in the vs command prompt see the chocolatey packages by default?
9> If you have a pkgconfig from chocolatey, yes.
10
111. Install as admin https://chocolatey.org/install
122. choco install sed pkgconfiglite gnuwin32-coreutils.install grep
133. https://sourceforge.net/projects/ezwinports/files/guile-2.0.11-2-w32-bin.zip/download (doesn't work)
14
15# Other programs
16- https://sourceforge.net/projects/gnuwin32/files/
17- gettext: https://sourceforge.net/projects/gnuwin32/files/gettext/0.14.4/gettext-0.14.4.exe/download?use_mirror=kumisystems&download=
18
19# Running a command
20` & 'C:\Program Files (x86)\GnuWin32\bin\cat.exe' .\README.md`
21
22# TODO
23
24# Thanks
25
26Thanks to xclaesse, dcbaker and lazka for explanations.
27
28----
29
30Copyright (C) 2021 Alexandros Theodotou
31
32Copying and distribution of this file, with or without modification,
33are permitted in any medium without royalty provided the copyright
34notice and this notice are preserved.  This file is offered as-is,
35without any warranty.
36