Giter Site home page Giter Site logo

scraps's Introduction

Scraps CII Best Practices Apache 2.0 License

Useful scraps of C++ code. This isn't intended for widespread use, and we don't recommend that it be used directly. By open-sourcing it, we aim to...

  • Promote transparency.
  • Facilitate community involvement regarding issues.
  • Publish code with broad application under a permissive enough license that it can be re-used elsewhere.
  • Enable open sourcing of other internal projects that depend on Scraps.
  • Motivate ourselves to remain conscious of and maintain a higher standard of code quality.

Status

Branch Status Description
master Build Status codecov This is the most stable branch, with merges generally coinciding with releases.
develop Build Status codecov This is the most cutting edge branch, which we do day-to-day development in.

Building

Prerequisites

You'll need to install these yourself if you don't have them already.

  • The pyyaml and jinja2 Python packages are used by Needy for our dependency configuration.
  • git is used to retrieve several of our dependencies.
  • pkg-config is used to integrate our dependencies.
  • clang and libc++ are required to compile.
  • libz is required by Curl.
  • OpenGL is required by Scraps.

These things must be installed before continuing.

Configuring

The simplest way to configure is to invoke ./build-deps --configure. This will download all of our third-party dependencies and configure the build to use them. It will also bootstrap b2 if you don't already have it installed (which will be used in the compilation step).

You can override any of our dependencies by placing them in your PKG_CONFIG_PATH before configuring.

Compiling

b2 will compile the library for you. You can also use b2 install --prefix=myinstalldir to install it, along with all of the dependencies that you did not provide during the configure step.

Other platforms

Currently, only 'nix platforms are supported and only with clang and libc++. We have Travis builds for some of these but welcome pull requests for additional platform support. For help in building Scraps on your platform of choice, it may be helpful to explore the scripts/ci directory to determine how we do it.

Issues & Requests

If you discover an issue with security implications, we ask that you first disclose it privately by emailing any of the active BitTorrent contributors.

Feature and pull requests are welcome, but because this library isn't intended for widespread use as a whole, we will not be entertaining requests for new features that don't benefit our other projects.

License

Scraps is provided under the Apache License, which can be found in the LICENSE file.

scraps's People

Contributors

ccbrown avatar mnbittorrent avatar rmcdonald avatar

Watchers

James Cloos 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.