Git Product home page Git Product logo

basalt's Introduction

Basalt

This library contains components from the Envoyer app that are reusable enough that other developers might benefit from them. It was originally intended to be merged into Granite, but it is too opinionated.

Using it

It is meant to be statically linked, so it might need some convincing if it needs packaging as a shared library. To link against it, add it as a git submodule:

git submodule add [email protected]:matzipan/basalt.git lib/basalt

And then add the following line to your CMakeLists.txt file:

add_subdirectory (lib/basalt)

To link a target against it:

target_link_libraries (<your target> basalt)

And the vapi path is:

 ${CMAKE_BINARY_DIR}/lib/basalt/lib/basalt.vapi

The demo application code is a good starting point for the usage of the library.

Building, Testing, and Installation

You'll need the following dependencies:

  • cmake
  • gobject-introspection
  • libgee-0.8-dev
  • libgirepository1.0-dev
  • libgtk-3-dev
  • valac

It's recommended to create a clean build environment

mkdir build
cd build/

To see a demo app of Basalt's widgets, use basalt-demo

./demo/basalt-demo

Documentation

To generate Vala documentation from this repository, use make valadocs

make valadocs

To generate C documentation from this repository, use make cdocs

make cdocs

To generate both C and Vala documentation at once, use make docs

make docs

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.