mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-24 02:27:46 +00:00
Copy over mysql lib
This commit is contained in:
parent
508a24c084
commit
e572801adb
1 changed files with 4 additions and 1 deletions
|
@ -18,16 +18,19 @@ services:
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- set PATH="C:\\Program Files\\MySQL\\MySQL Server 5.7\\bin";%PATH%
|
- set PATH="C:\\Program Files\\MySQL\\MySQL Server 5.7\\bin";%PATH%
|
||||||
|
- cd c:\projects\sapphire
|
||||||
- mkdir mysqlcpp
|
- mkdir mysqlcpp
|
||||||
|
- git submodule update --init
|
||||||
|
- cd ..
|
||||||
- cd mysqlcpp
|
- cd mysqlcpp
|
||||||
- cmake --version
|
- cmake --version
|
||||||
- git clone https://github.com/mysql/mysql-connector-cpp
|
- git clone https://github.com/mysql/mysql-connector-cpp
|
||||||
- cd mysql-connector-cpp
|
- cd mysql-connector-cpp
|
||||||
- cd ..
|
- cd ..
|
||||||
|
- xcopy c:\projects\sapphire\src\libraries\external\MySQL c:\MySQL /s /e /h
|
||||||
- cmake mysql-connector-cpp/. -DBOOST_ROOT=C:\\Libraries\\boost_1_60_0
|
- cmake mysql-connector-cpp/. -DBOOST_ROOT=C:\\Libraries\\boost_1_60_0
|
||||||
- cmake --build . --target INSTALL --config RelWithDebInfo
|
- cmake --build . --target INSTALL --config RelWithDebInfo
|
||||||
- cd c:\projects\sapphire
|
- cd c:\projects\sapphire
|
||||||
- git submodule update --init
|
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake .. -G "Visual Studio 14 2015" -DMYSQLCONNECTORCPP_ROOT_DIR=C:\\projects\\mysqlcpp\\mysql-connector-cpp
|
- cmake .. -G "Visual Studio 14 2015" -DMYSQLCONNECTORCPP_ROOT_DIR=C:\\projects\\mysqlcpp\\mysql-connector-cpp
|
||||||
|
|
Loading…
Add table
Reference in a new issue