Skip to content

Commit

Permalink
Merge pull request #606 from apathyboy/master
Browse files Browse the repository at this point in the history
Regression fix for building mysql connectors
  • Loading branch information
apathyboy committed Jul 8, 2013
2 parents 7afb92e + 6f04a0b commit 5aaab59
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build_deps.bat
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,11 @@ if not exist "%MYSQL_C_DIR%" (

cd "%MYSQL_C_DIR%"

cmake -G"Visual Studio 11" .
cmake --build . --target mysqlclient --config Debug
cmake --build . --target libmysql --config Debug
cmake --build . --target mysqlclient --config Release
cmake --build . --target libmysql --config Release
cmake -G"Visual Studio %MSVC_VERSION%" .
cmake --build . --target libmysql/mysqlclient --config Debug
cmake --build . --target libmysql/libmysql --config Debug
cmake --build . --target libmysql/mysqlclient --config Release
cmake --build . --target libmysql/libmysql --config Release

if not exist "%VENDOR_DIR%include\mysql.h" (
xcopy "include" "%VENDOR_DIR%include" /s /i /y
Expand All @@ -351,9 +351,9 @@ if not exist mysql-connector-cpp (

cd mysql-connector-cpp

cmake -G"Visual Studio 11" -DDISABLE_ITERATOR_DEBUGGING=ON -DBOOST_ROOT=%VENDOR_DIR% -DMYSQL_INCLUDE_DIR=%VENDOR_DIR%include -DMYSQL_LIB_DIR=%VENDOR_DIR%lib/Release .
cmake --build . --target mysqlcppconn --config Debug
cmake --build . --target mysqlcppconn --config Release
cmake -G"Visual Studio %MSVC_VERSION%" -DDISABLE_ITERATOR_DEBUGGING=ON -DBOOST_ROOT=%VENDOR_DIR% -DMYSQL_INCLUDE_DIR=%VENDOR_DIR%include -DMYSQL_LIB_DIR=%VENDOR_DIR%lib/Release .
cmake --build . --target driver/mysqlcppconn --config Debug
cmake --build . --target driver/mysqlcppconn --config Release

if not exist "%VENDOR_DIR%include\cppconn" (
xcopy "cppconn" "%VENDOR_DIR%include\cppconn" /s /i /y
Expand Down

0 comments on commit 5aaab59

Please sign in to comment.