MariaDB: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
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) | |||
<syntaxhighlight lang="Windows batch files"> | <syntaxhighlight lang="Windows batch files"> |
Revision as of 16:17, 17 May 2019
__EDIT_ME__
Compile on Windows
Minimum requirements
- CMake 3.1 (https://cmake.org)
- Boost 1.69 (https://boost.org)
- MariaDB C/C++ Connector (https://mariadb.com/downloads/#connectors)
- Visual Studio 2017 MSVC 15 (Windows) or GCC 7 (Linux)
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.