Skip to content
forked from mujx/mtxclient

Client API library for Matrix, built on top of Boost.Asio

License

Notifications You must be signed in to change notification settings

ajberchek/mtxclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mtxclient

Build Status

Client API library for the Matrix protocol, built on top of Boost.Asio.

Build instructions

Dependencies

  • Boost 1.66 (includes Boost.Beast)
  • OpenSSL
  • C++ 11 compiler
  • CMake 3.1 or greater
  • Google Test (for testing)

Boost and GTest will be built automatically by CMake if they're not found on your system.

Below is an example which will build the library along with the tests & examples.

Linux

cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug
cmake --build build

macOS

You will need to pass as argument (-DOPENSSL_ROOT_DIR) the installation root of openssl.

cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
cmake --build build

You can toggle off the tests & examples by passing -DBUILD_LIB_TESTS=OFF & -DBUILD_LIB_EXAMPLES=OFF respectively.

Running the tests

In order to run the integration tests you'll need a local synapse instance. You can start an instance with docker by running the following

make synapse

then run the test suite

make test 

About

Client API library for Matrix, built on top of Boost.Asio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 87.3%
  • CMake 10.3%
  • Makefile 2.4%