Code Monkey home page Code Monkey logo

example-grpc-conan-cmake's Introduction

Example C++ project using gRPC with Conan and CMake

How to build

  1. Make an out-of-source build directory.
mkdir build
cd build
  1. Add inexorgame to the list of remotes for Conan.

conan remote add inexorgame "https://api.bintray.com/conan/inexorgame/inexor-conan"

  1. Tell Conan to install our dependencies for a Debug build, and build any that need to be built.

conan install .. -s build_type=Debug --build missing

  1. Configure the build using CMake.

cmake .. -DCMAKE_BUILD_TYPE=Debug

  1. Build using CMake.

cmake --build . --config Debug

You can build a release version by running steps 3-5 with Release instead of Debug.

On Windows you can also replace step 5 with opening the generated solution file in the build directory. Note that if you do this you should conan install both Debug and Release first.

example-grpc-conan-cmake's People

Contributors

phantomgrazzler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.