https://github.com/chwarr/bond-via-vcpkg
An example showing how to consume Bond via vcpkg
https://github.com/chwarr/bond-via-vcpkg
bond example serialization vcpkg
Last synced: 15 days ago
JSON representation
An example showing how to consume Bond via vcpkg
- Host: GitHub
- URL: https://github.com/chwarr/bond-via-vcpkg
- Owner: chwarr
- License: mit
- Created: 2017-07-14T22:10:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-14T22:30:52.000Z (almost 8 years ago)
- Last Synced: 2025-02-14T19:53:56.892Z (2 months ago)
- Topics: bond, example, serialization, vcpkg
- Language: C++
- Homepage: https://github.com/Microsoft/bond
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Bond via vcpkg
This repository contains a Visual Studio 2017 project that consumes
[Bond][bond], "a cross-platform framework for working with schematized
data", via the [vcpkg][vcpkg], a tool to "get C and C++ libraries on
Windows".It's mostly used to validate that the Bond port in vcpkg is working
correctly.# Getting Started
1. Ensure that Visual Studio 2017 is installed.
1. [Acquire and build][vcpkg-build] vcpkg.
1. Install the Bond port. In the vcpkg directory, run `.\vcpkg install bond`
1. Create the [vcpkg integration NuGet package][vcpkg-integrate]. In the
vcpkg directory, run`.\vcpkg integrate project`
1. Clone this repository: `git clone --recursive
https://github.com/chwarr/bond-via-vcpkg.git`
1. Open the `bond-via-vcpkg.sln`solution in this repository.
1. It's likely that the vcpkg NuGet package will have a different name and
path from the one included in this project. Remove the
`vcpkg.S.src.vcpkg` package and add the one created in step 4.
1. Build and enjoy!# Known Issues
The vcpkg NuGet integration package is used. This has a different name and
path on different machines, so it may need to be adjusted. See the
[Getting Started](#getting-started) steps for details.[bond]: https://github.com/Microsoft/bond
[vcpkg]: https://github.com/Microsoft/vcpkg
[vcpkg-build]: https://github.com/Microsoft/vcpkg/blob/master/README.md#quick-start
[vcpkg-integrate]: https://github.com/Microsoft/vcpkg/blob/master/docs/users/integration.md#linking-nuget-file