Giter Site home page Giter Site logo

uag515 / corrade Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mosra/corrade

0.0 2.0 0.0 5.9 MB

C++11/C++14 multiplatform utility library

Home Page: http://mosra.cz/blog/corrade.php

License: Other

CMake 10.43% Shell 1.00% Batchfile 0.23% Makefile 0.01% Ruby 0.04% C++ 87.39% C 0.90%

corrade's Introduction

corrade (v.) - "To scrape together, to gather together from various sources"

Corrade is multiplatform utility library written in C++11/C++14.

Join the chat at https://gitter.im/mosra/magnum

SUPPORTED PLATFORMS

  • Linux and embedded Linux Build Status Coverage Status
  • Windows Build Status
  • OS X Build Status
  • iOS
  • Android 1.5 (API Level 3) and higher
  • Windows RT (Store/Phone)
  • Google Chrome (through Native Client, both newlib and glibc toolchains are supported)
  • HTML5/JavaScript (through Emscripten)

FEATURES

  • Actively maintained Doxygen documentation with tutorials and examples. Snapshot is available at http://mosra.cz/blog/corrade-doc/.
  • Signal/slot connection library with compile-time argument checking.
  • Plugin management library with static and dynamic plugins and dependency handling.
  • Easy-to-use unit test framework and extensible debugging output.
  • Various utilities to ease multiplatform development.

INSTALLATION

You can either use packaging scripts, which are stored in package/ subdirectory, or compile and install everything manually. Note that Doxygen documentation contains more comprehensive guide for building, packaging and crosscompiling.

Minimal dependencies

  • C++ compiler with good C++11 support. Compilers which are tested to have everything needed are GCC >= 4.7, Clang >= 3.1 and MSVC 2015. On Windows you can also use MinGW-w64. GCC 4.6, 4.5, 4.4 and MSVC 2013 support involves some ugly workarounds and thus is available only in compatibility branch.
  • CMake >= 2.8.12

Note that full feature set is available only on GCC >= 4.8.1 and Clang >= 3.1 and compatibility mode with reduced feature set must be enabled for other compilers.

Compilation, installation

The library can be built and installed using these four commands:

mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make
make install

Building and running unit tests

If you want to build also unit tests (which are not built by default), pass -DBUILD_TESTS=ON to CMake. Unit tests use Corrade's own TestSuite framework and can be run using

ctest --output-on-failure

in build directory. Everything should pass ;-)

Building documentation

The documentation is written in Doxygen (preferrably 1.8 with Markdown support, but older versions should do good job too) and additionally uses Graphviz for class diagrams. The documentation can be build by running

doxygen

in root directory (i.e. where Doxyfile is). Resulting HTML documentation will be in build/doc/ directory.

Building examples

The library comes with handful of examples, contained in examples/ directory. Each example is thoroughly explained in documentation. The examples require Corrade to be installed and they are built separately:

mkdir -p build-examples
cd build-examples
cmake ../examples
make

CONTACT

Want to learn more about the library? Found a bug or want to tell me an awesome idea? Feel free to visit my website or contact me at:

CREDITS

See CREDITS.md file for details. Big thanks to everyone involved!

LICENSE

Corrade is licensed under MIT/Expat license, see COPYING file for details.

corrade's People

Contributors

chris-chambers avatar davll avatar lb-- avatar mdietsch avatar mosra avatar olga-python avatar squareys avatar xantares 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.