使用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

posted @ 2014-12-22 17:28  kim_berley  阅读(262)  评论(0编辑  收藏  举报