jasonbot / conan-mysqlclient

MySQLClient recipe for conan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

conan-mysqlclient

Conan.io package for MySQL Client library

The packages generated with this conanfile can be found in conan.io.

Build packages

Download conan client from Conan.io and run:

$ python build.py

If your are in Windows you should run it from a VisualStudio console in order to get "mc.exe" in path.

Upload packages to server

$ conan upload MySQLClient/6.1.6@hklabbers/stable --all

Reuse the packages

Basic setup

$ conan install MySQLClient/6.1.6@hklabbers/stable

Project setup

If you handle multiple dependencies in your project is better to add a conanfile.txt

[requires]
MySQLClient/6.1.6@hklabbers/stable

[options]
MySQLClient:shared=True # False

[generators]
cmake

Complete the installation of requirements for your project running:

conan install . 

Project setup installs the library (and all his dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.

Issues

This package doesn't compile with gcc 4.6 due to an issue with glibc compatibility.

This package can only be compiled with VS 12 on windows.

About

MySQLClient recipe for conan

License:GNU General Public License v2.0


Languages

Language:Python 69.1%Language:CMake 17.5%Language:Shell 10.6%Language:C++ 2.9%