Author: wyoung
Date: Thu Dec 12 16:13:07 2013
New Revision: 2759
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2759&view=rev
Log:
Tweaked the user manual "incorporating" chapter text to track recent
changes in Connector/C file layouts.
Modified:
trunk/doc/userman/incorporating.dbx
Modified: trunk/doc/userman/incorporating.dbx
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/incorporating.dbx?rev=2759&r1=2758&r2=2759&view=diff
==============================================================================
--- trunk/doc/userman/incorporating.dbx (original)
+++ trunk/doc/userman/incorporating.dbx Thu Dec 12 16:13:07 2013
@@ -49,9 +49,9 @@
configurations.)</para>
<itemizedlist>
- <listitem><para>Append the following to C/C++
- | General | Additional Include Directories:
- <filename>C:\Program Files\MySQL\MySQL Server 5.0\include,
+ <listitem><para>Append the following to C/C++ | General |
+ Additional Include Directories: <filename>C:\Program
+ Files\MySQL\MySQL Connector C 6.1\include,
C:\mysql++\include</filename></para></listitem>
<listitem><para>Under C/C++ | Code Generation change
@@ -61,14 +61,13 @@
(/MD)”.</para></listitem>
<listitem>
- <para>Append the following to Linker | General |
- Additional Library Directories for the Debug configuration:
- <filename>C:\Program Files\MySQL\MySQL Server 5.0\lib\debug,
- C:\mysql++\vc\debug</filename></para>
-
- <para>For the Release configuration, make it the same,
- but change the “debug” directory names to
- “opt”.</para>
+ <para>For both Release and Debug builds, append the following
+ to Linker | General | Additional Library Directories:
+ <filename>C:\Program Files\MySQL\MySQL Connector C 6.1\lib,
+ C:\mysql++\lib</filename></para>
+
+ <para>Connector/C does include debug libraries, but you
+ will probably not need to use them.</p>
</listitem>
<listitem>
@@ -229,16 +228,15 @@
you can see what it uses, and emulate that.</para>
<para>You may be wondering why we have used both
- <varname>LDLIBS</varname> and <varname>LDFLAGS</varname>
- here. Some <filename>Makefiles</filename> you have seen probably
- try to collect both types of flags in a single variable. Whether
- that works or not depends on where on the command line those
- flags appear. Since we’re depending on the standard
- <filename>make</filename> rules here, we know have to separate
- the <option>-l</option> and <option>-L</option> flags due to the
- place they’re inserted into the link command. If you were
- writing your own compilation rules, you could write them in such
- a way that you didn’t have to do this.</para>
+ <varname>LDLIBS</varname> and <varname>LDFLAGS</varname> here. Some
+ <filename>Makefiles</filename> you have seen collect both types
+ of flags in a single variable. That can work if the variable
+ is used in the right place in the link command. However, this
+ particular <filename>Makefile</filename> is made with GNU make
+ in mind, and uses its standard rules implicitly. Those rules
+ are designed to use these two variables separately like this.
+ If you were writing your own compilation rules, you could write
+ them in such a way that you didn’t have to do this.</para>
<para>Beyond that, we have a pretty vanilla
<filename>Makefile</filename>, thanks in large part to the fact
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits