diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-26 12:38:01 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-26 12:38:01 +0900 |
| commit | f9bf7d531bcea3fde3bb055d5d517f93945515dd (patch) | |
| tree | c64d36dbd5fde44a82c02ba5132f54cc6d52b6aa | |
| parent | 7567e4e1e1e8029b19cda81b612f2d1a0c27cb9f (diff) | |
Added vcpkg manifest for windows build environment.
"builtin-baseline": "53bef8994c541b6561884a8395ea35715ece75db" is 2024.01.12
released version of vcpkg.
https://github.com/microsoft/vcpkg/releases/tag/2024.01.12
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | doc/windows.md | 7 | ||||
| -rw-r--r-- | vcpkg.json | 11 |
3 files changed, 16 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore index f402bf2155..89b817b4f6 100644 --- a/.gitignore +++ b/.gitignore @@ -138,6 +138,7 @@ lcov*.info /test.rb /test-coverage.dat /tmp +/vcpkg_installed /transdb.h /uncommon.mk /verconf.h diff --git a/doc/windows.md b/doc/windows.md index a8bc4f6a42..2020eec9cf 100644 --- a/doc/windows.md +++ b/doc/windows.md @@ -88,10 +88,11 @@ make scoop install git ruby sed patch ``` -5. You need to install required libraries using [vcpkg](https://vcpkg.io/) like: +5. You need to install required libraries using [vcpkg](https://vcpkg.io/) on + directory of ruby repository like: ``` - vcpkg --triplet x64-windows install openssl libffi libyaml zlib + vcpkg --triplet x64-windows install ``` 6. Enable Command Extension of your command line. It's the default behavior @@ -117,7 +118,7 @@ make executable without console window if also you want. 3. You need specify vcpkg directory to use `--with-opt-dir` - option like `configure --with-opt-dir=C:\vcpkg\installed\x64-windows` + option like `win32\configure.bat --with-opt-dir=vcpkg_installed\x64-windows` 4. Run `nmake up` if you are building from GIT source. diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 0000000000..1296010e1f --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "dependencies": [ + "gmp", + "libffi", + "libyaml", + "openssl", + "zlib" + ], + "builtin-baseline": "53bef8994c541b6561884a8395ea35715ece75db" +} |
