MariaDB: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Open the generated mariadb.sln file. | Open the generated mariadb.sln file and select "Release" as build target. | ||
Right click on the solution and hit rebuild. | |||
[[File:BuildMariaDBPluginWindows.png]] |
Revision as of 16:22, 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.