Git Product home page Git Product logo

addressbook's Introduction

AddressBook

This project was built largely from the code found here: https://developers.google.com/protocol-buffers/docs/cpptutorial

The purpose of this project is to create a complicated build that a future build system might be able to handle elegantly without explicitly defining all dependencies.

This is a sample C++ application with an explicit Makefile for the build process. This project builds two binaries which share common code. The common code is compiled into a static library. The application utilizes multiple imported protobufs. There is also a graphviz graph definition that graphically shows the dependencies. The Makefile builds the graph file as well. The application utilizes Google's Test framework as well as Google's cpplint syntax checker. The Makefile handles all of this.

The Makefile is big and ugly. Even worse is that it took me way to long to write and verify. I'm hoping there will be a future build system that will allow me to define custom patterns that can be used to define build targets, dependencies, outputs, etc. The biggest problem with today's systems is that when you realize you want to add another layer to your build (e.g. adding gtest for example), it breaks your Makefile. I also don't want to have to learn another syntax.

Environment Setup

sudo apt-get install protobuf-compiler libprotobuf-dev graphviz

Build Process

git clone [email protected]:nicmcd/addressbook.git
cd addressbook
git submodule init
git submodule update
make

addressbook's People

Contributors

nicmcd avatar

Watchers

 avatar  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.