MariaDB: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 1: Line 1:
__EDIT_ME__
__EDIT_ME__


==Compile on Windows==
==Compiling from source==


Minimum requirements
Minimum requirements
Line 7: Line 7:
* Boost 1.69 (https://boost.org)
* Boost 1.69 (https://boost.org)
* MariaDB C/C++ Connector (https://mariadb.com/downloads/#connectors)
* MariaDB C/C++ Connector (https://mariadb.com/downloads/#connectors)
* Visual Studio 2017 MSVC 15 (Windows) or GCC 7 (Linux)
* Visual Studio 2017 (Windows) or GCC 7 (Linux)


===Windows===
<syntaxhighlight lang="Windows batch files">
<syntaxhighlight lang="Windows batch files">
git clone https://github.com/BlueMountainsIO/PluginMariaDB.git
git clone https://github.com/BlueMountainsIO/PluginMariaDB.git

Revision as of 16:54, 17 May 2019

__EDIT_ME__

Compiling from source

Minimum requirements

Windows

git clone https://github.com/BlueMountainsIO/PluginMariaDB.git
cd PluginMariaDB
cmake -DMARIADBCAPI_INCLUDE_DIR="C:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" -DBOOST_ROOT="D:\Lib\boost_1_70_0" .

Open the generated mariadb.sln file and select "Release" as build target. Right click on the solution and hit rebuild.

The .dll will be under PluginMariaDB\src\Release.