Git Product home page Git Product logo

rang's Introduction

rang Build Status Build status Coverage Status

Colors for your Terminal.

rang-demo rang-windows-demo


How to use it

No build system/package manager

  1. You just need rang.hpp from include directory, use it as #include "rang.hpp"
  2. Check out the wiki & maybe glance inside test directory to see some usage
  3. ???
  4. Profit!!

Using Meson build system

  • Use wrapdb to find rang dependency
  • Place this code inside your primary meson.build - rang_dep = dependency('rang', fallback : ['rang', 'rang_dep'])
  • Make sure to include rang_dep as dependency wherever you need it.

Using Conan package manager

[requires]
rang/2.0@agauniyal/stable

...

and CMakeLists.txt with -

INCLUDE(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
CONAN_BASIC_SETUP()

ADD_EXECUTABLE(executable_name main.cpp)
TARGET_LINK_LIBRARIES(executable_name ${CONAN_LIBS})
  • create build directory - mkdir build && cd build
  • install package and build - conan install .. && cmake .. && make

rang's People

Contributors

agauniyal avatar axelstrem avatar zeokav avatar benni012 avatar pfultz2 avatar blastrock avatar qzsg avatar vittorioromeo avatar

Watchers

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