[CMake] MySQL++ Configuration
    ivan gm 
    ivan.gm.itk at gmail.com
       
    Mon Jun 16 04:48:13 EDT 2008
    
    
  
Hello,
I want to generate a CMakeLists.txt which configures a visual studio 2005
project with the libraries needed to use MySQL++.
The changes I have to manually do with visual studio properties window are
the following:
1. Append the following to 'C/C++::General::Additional Include Directories'
and add this two:
    C:\Archivos de programa\MySQL\MySQL Server 5.0\include
    C:\...\mysql++-3.0.1\lib
2. On 'Linker::General::Additional Library Directories':
    For the 'Debug' configuration:
       C:\Archivos de programa\MySQL\MySQL Server 5.0\lib\debug
       C:\...\mysql++-3.0.1\vc2005\Debug
    For the 'Release' configuration:
       C:\Archivos de programa\MySQL\MySQL Server 5.0\lib\opt
       C:\...\mysql++-3.0.1\vc2005\Release
3. Under "Linker::Input::Additional Dependencies" add the following:
    For the 'Debug' configuration:      libmysql.lib wsock32.lib
mysqlpp_d.lib
    For the 'Release' configuration:    libmysql.lib wsock32.lib mysqlpp.lib
Can anybody help me? Thank you so much.
Yours faithfully.
Iván García Martínez.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080616/3ef99350/attachment.htm>
    
    
More information about the CMake
mailing list