Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 732 Bytes

INSTALL.md

File metadata and controls

39 lines (25 loc) · 732 Bytes

Building MariaCpp library

MariaCpp is compiled using cmake, so you can follow instructions from MariaDB or MariaDB Connector/C build docs.

Shortly:

cmake .
cmake . -LH
make
make test
sudo make install

Testing MariaCpp library

Command:

make test

will execute some automatic tests. These tests require working connection to MariaDB/MySQL database with permission to create temporary table. By default, it will connect with following credentials:

  • host: localhost
  • user: test
  • password:
  • schema: test

You can modify it by changing cmake variables: TEST_DB_URI, TEST_DB_USER, TEST_DB_PASSWD.