Skip to content

Cross-platform C++ common library for Linux, OSX, Windows, Cygwin, MinGW

License

Notifications You must be signed in to change notification settings

virgiliofornazin/CppCommon

 
 

Repository files navigation

CppCommon

Linux build status OSX build status Cygwin build status MinGW build status Windows build status

C++ Common Library contains reusable components and patterns for error and exceptions handling, filesystem manipulations, math, string format and encoding, shared memory, threading, time management and others.

CppCommon API reference

Contents

Features

  • Cross platform (Linux, OSX, Windows)
  • Exception handling model
  • Filesystem manipulations
  • String encoding converters
  • String format using {fmt} library
  • CPU, memory, environment
  • Shared memory
  • Stack trace
  • UUID generator
  • Thread extensions (priority, affinity, yield)
  • Thread barrier, latch
  • Synchronization primitives
  • Named synchronization primitives
  • Producer/consumer queues
  • Time management
  • Utilities

Requirements

Optional:

How to build?

pip3 install gil

Setup repository

git clone https://github.com/chronoxor/CppCommon.git
cd CppCommon
gil update

Linux

cd build
./unix.sh

OSX

cd build
./unix.sh

Windows (Cygwin)

cd build
cygwin.bat

Windows (MinGW)

cd build
mingw.bat

Windows (Visual Studio)

cd build
vs.bat

About

Cross-platform C++ common library for Linux, OSX, Windows, Cygwin, MinGW

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.6%
  • Other 0.4%