Build MySQL connector C library with Xcode 4.3
===

Just want to share with folks. 

1) Download mysql-connector-c-6.0.2.tar from
http://dev.mysql.com/downloads/connector/c/

Note: select source code in the platform pull down menu. 

Extract to $DEV/mysql-connector-c-6.0.2/

2) Download CMake from 
http://www.cmake.org/cmake/resources/software.html

I chose: cmake-2.8.8-Darwin64-universal.dmg 

During installation, it will ask for command line.  Just say YES.

3) Xcode 4.3 install command line Tools
Xcode->preference->download->Command Line Tools

4) start a command line window and go to $DEV/mysql-connector-c-6.0.2/
cmake -G Xcode

Note: It will configure and generate project file

5) In Xcode
- open  $DEV/mysql-connector-c-6.0.2/libmysql.xcodeproj
- build for archiving

6) libmysql.a is in the $DEV/mysql-connector-c-6.0.2/libmysql/Release/




