UBuntu编译安装CppDB

CPPDB是一个开源的访问MySQL和其他一些数据库的C++类库。

Build Process

Download latest version of CppDB or fetch one from SVN using subverision:
$ svn co http://cppcms.svn.sourceforge.net/svnroot/cppcms/cppdb/trunk cppdb-trunk
Go to the created directory and make build directory and go to it.
$ cd cppdb-trunk
$ mkdir build
$ cd build
Run cmake with all options you need and then make, make install
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
$ make
# make install



原文链接: http://blog.csdn.net/sheismylife/article/details/6747147

你可能感兴趣的:(UBuntu编译安装CppDB)