anirul / Darwin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Darwin

A very simple gRPC based client server application.

Building

You will need the followings:

  • Git
  • CMake
  • A C++ compiler (you can use Visual Studio)

To build the server part and then the client you need to follow the following procedures:

  1. You need to install vcpkg.
  2. 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 .

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 91.2%Language:GLSL 5.1%Language:CMake 2.8%Language:Dockerfile 0.9%