Skip to content

Commit d03f6e8

Browse files
committed
notes about build on msvc (windows) with Meson
1 parent dab3fc0 commit d03f6e8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.meson_msvc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Build on Microsoft Windows with Microsoft Visual Studio and meson
2+
3+
1. Install
4+
- Microsft Visual Studio with C and C++ support
5+
- Meson
6+
- PostgreSQL
7+
8+
2. Run x64 Native Tools Command Prompt for VS 20xx (*** ensure x64 ***)
9+
10+
3. Set PATH
11+
12+
set PATH=%PATH%;C:\Program Files\PostgreSQL\16\bin;C:\Program Files\Meson
13+
14+
4. execute in orafce directory
15+
16+
meson setup --wipe --buildtype release build
17+
cd build
18+
ninja
19+
sudo ninja install (on linux)
20+
ninja test (on linux)
21+
# ninja bindist
22+
23+
5. tests on MSWIN requires installation DiffUtils from gnuwin32
24+
25+
set PATH=%PATH%;C:\Program Files (x86)\GnuWin32\bin
26+
set PGPORT=
27+
set PGUSER=
28+
set PGPASSWORD=
29+
ninja test

0 commit comments

Comments
 (0)