summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-06-26 14:44:32 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-06-26 14:45:24 +0900
commitb4503d796453499da52e2426b28eaaca094eed8a (patch)
tree4865d6b0f328f9587e3ea3f262ccedb29e4e0dd1
parent514aa80563f1d52a3bb34f7f65ee3b4206c04012 (diff)
Mentioned new mswin tasks related with vcpkg
-rw-r--r--doc/windows.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/windows.md b/doc/windows.md
index 502a95124e..f638e57529 100644
--- a/doc/windows.md
+++ b/doc/windows.md
@@ -125,9 +125,12 @@ make
5. Run `nmake`
-6. Run `nmake check`
+6. Run `nmake prepare-vcpkg` if you need to copy
+ vcpkg installed libraries like `libssl-3-x64.dll` to the build directory.
-7. Run `nmake install`
+7. Run `nmake check`
+
+8. Run `nmake install`
### Build examples
@@ -211,6 +214,18 @@ You can build ruby in any directory including the source directory,
except `win32` directory in the source directory.
This is restriction originating in the path search method of `NMAKE`.
+### Dependency management
+
+Ruby uses [vcpkg](https://vcpkg.io/) to manage dependencies on mswin platform.
+
+You can update and install it under the build directory like:
+
+```
+nmake update-vcpkg # Update baseline version of vcpkg
+nmake install-vcpkg # Install vcpkg from build directory
+```
+
+
## Icons
Any icon files(`*.ico`) in the build directory, directories specified with