Darwin
A very simple gRPC based client server application.
Building
You will need the followings:
To build the server part and then the client you need to follow the following procedures:
- You need to install vcpkg.
- You need to build the project.
Install VCPKG
Install vcpkg, from the github page, if possible in the same subdirectory as the darwin
project. The project was builded with the tag version: 2024.01.12
, but it should work with any version via minor changes.
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.bat
Congratulation you now have VCPKG on you drive! Remember where you installed it as you will need this info in the next step.
Make the project
You now need to create a project for the compiler (and IDE) you want. You can use the -G
option to select witch generator to use, it should select the default for your system if you don't use it.
git clone https://github.com/anirul/darwin.git
cd Darwin
git submodule update --init --recursive
mkdir Build
cd Build
cmake .. -DCMAKE_TOOLCHAIN_FILE="[path to VCPKG]/scripts/buildsystems/vcpkg.cmake"
Now either open the .sln file or use cmake to build the project.
cmake --build .