MariaDB: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
Right click on the solution and hit rebuild. | Right click on the solution and hit rebuild. | ||
[[File:BuildMariaDBPluginWindows.png]] | [[File:BuildMariaDBPluginWindows.png]] | ||
The .dll will be under ''PluginMariaDB\src\Release''. |
Revision as of 16:23, 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 and select "Release" as build target. Right click on the solution and hit rebuild.
The .dll will be under PluginMariaDB\src\Release.