使用mysql配置codeblocks下C++工程
记录:
为使用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