Skip to content

maxrt101/mrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mrt

C++ Tools

Overwriew

The library mainly consists of:

  • Thread Utils (ThreadPool, Executors, Futures, etc)
  • Test Framework
  • String Utils
  • Command Line Argument Parser
  • Config File Parser
  • Optional
  • Template String Formatter
  • Container Utils
  • Logger
  • Wrappers (File, DynamicLibrary)
  • Console IO Utilities
  • HTTP Request Support (in progress)
  • Proccess Wrapper (in progress)

How to install:

git clone https://github.com/maxrt101/mrt.git
cd mrt
make

The install copies headers to an installation location.
You can specify install folder, by setting PREFIX, e.g.

make PREFIX=/path/to/installation/folder

The header files will be installed into /path/to/installation/folder/include/mrt
Default PREFIX is build/

Tests

Tests are located in tests/ folder.
Every test_*.cc file is a test for some mrt component.
Tests are built into build/test/test_*.so files, which can then be run separately using build/bin/mrt_test.

make test # to build & run tests
make test RUN=0 # to build tests
./build/bin/mrt_test TESTS # to run individual tests (TESTS is one or more .so files from build/test)

About

C++ Utilities

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published