Giter Site home page Giter Site logo

kurotych / modern-cpp-lib Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 137 KB

Investigate ways to create modern cpp project

License: MIT License

CMake 2.66% C 0.03% C++ 97.02% Python 0.14% Dockerfile 0.14%
gcc cpp library modern travis ci python bindings unit testing codecov lcov gcov docker gtest cmake html

modern-cpp-lib's Introduction

Modern cpp library

Investigates best way to build modern project for develop UNIX C++ library based on C API for binding any language

Codacy Badge Docker Cloud Build Status codecov

Build status Systems / Compilers
Build Status Linux (gcc) OSX (XCode 10.2 clang)

Features

Libraries used

Build and Run

git clone https://github.com/armatusmiles/modern-cpp-lib.git \
    && cd modern-cpp-lib \
    && mkdir build && cd build \
    && cmake ../ \
    && make moderncpp_coverage
cppcheck simple example
cppcheck ./src/

Checking src/interface.cpp ...
[src/interface.cpp:11]: (error) Array 'a[5]' accessed at index 6, which is out of bounds.
Notice: For choose catch2 test framework. Should add var -DTEST_TYPE="catch2"
Exmaple : cmake ../ -DTEST_TYPE="catch2"

"make moderncpp_coverage" builds library, runs gtest and generate code coverage(html) report

References

modern-cpp-lib's People

Contributors

codacy-badger avatar kurotych avatar

Stargazers

 avatar  avatar

Watchers

 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.