Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add instructions for build on Windows #8

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ sudo apt install build-essential cmake libzstd-dev liblz4-dev protobuf-compiler
- [pkg-config](https://stackoverflow.com/a/25605631/2883130)
- [gtest](https://google.github.io/googletest/)

> **_NOTE:_** You can use [vcpkg](https://github.com/microsoft/vcpkg) and [chocolatey](https://chocolatey.org/) to install the following dependencies:
> **_NOTE:_** Use the protobuf installation instructions for Windows from [OSI](https://opensimulationinterface.github.io/osi-antora-generator/asamosi/latest/interface/setup/installing_prerequisites.html#_windows) to create the triplets file. You can use [vcpkg](https://github.com/microsoft/vcpkg) and [chocolatey](https://chocolatey.org/) to install the following dependencies:

```bash
> choco install git
> choco install cmake
> choco install pkgconfiglite
>
> vcpkg install protobuf[zlib] protobuf[zlib]:x64-windows
> vcpkg install --triplet=x64-windows-static-md protobuf
> vcpkg install lz4
> vcpkg install zstd
> vcpkg install gtest
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is gtest really needed via vcpkg. Shouldn't the FetchContent_MakeAvailable be sufficient?

Expand Down
Loading