标签:
记录:
为使用mysql配置codeblocks下C++工程:
goto project -> build options
a. compiler settings tab -> other options: `mysql_config --cflags`
b. linker settings tab -> other options: `mysql_config --libs`
to get codecompletion you probably need to add the include dir to your project
c. search directories tab -> compiler: /usr/include/mysql
标签:
原文地址:http://www.cnblogs.com/kingbin/p/4178641.html