Author: wyoung
Date: Tue Dec 11 07:26:42 2007
New Revision: 1998

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1998&view=rev
Log:
msvs2003prj support works correctly in bakefile now with spaces in
include and lib paths, and it's promised to be in a released version
sometime this month, so we've moved over to that from VS2005.

Modified:
    trunk/Bakefiles.bkgen
    trunk/README.vc
    trunk/Wishlist
    trunk/mysql++.bkl
    trunk/rebake.bat

Modified: trunk/Bakefiles.bkgen
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/Bakefiles.bkgen?rev=1998&r1=1997&r2=1998&view=diff
==============================================================================
--- trunk/Bakefiles.bkgen (original)
+++ trunk/Bakefiles.bkgen Tue Dec 11 07:26:42 2007
@@ -1,12 +1,12 @@
 <?xml version="1.0" ?>
-<bakefile-gen>
+<bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen";>
     <input>
         ./mysql++.bkl
     </input>
 
     <!-- List of output formats to generate: -->
     <add-formats>
-        autoconf,msvs2005prj,mingw
+        autoconf,msvs2003prj,mingw
     </add-formats>
 
     <add-flags formats="mingw">

Modified: trunk/README.vc
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/README.vc?rev=1998&r1=1997&r2=1998&view=diff
==============================================================================
--- trunk/README.vc (original)
+++ trunk/README.vc Tue Dec 11 07:26:42 2007
@@ -173,40 +173,13 @@
 
 Making It Work With Visual Studio 2003
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-    There are only two minor issues preventing us from supporting
-    Visual Studio 2003 directly.  If there were elegant workarounds
-    for these, we'd do them, but there aren't, so we leave the work
-    of making the changes up to those users that need them.
-
-    The first is that the current version of Bakefile (0.2.2, see
-    previous section) doesn't support Visual Studio 2003 project
-    files.  This feature is coming in the next version, but since
-    you're reading this, it wasn't available at the time of this
-    release of MySQL++.  If Bakefile 0.2.3 (guessing) is out, you
-    can make it generate Visual Studio 2003 project files by opening
-    mysql++.bkl in a text editor and changing all the '2005's to
-    '2003's.  Then drop down to a command prompt and say:
-
-        bakefile -f msvs2003prj mysql++.bkl
-
-    If 0.2.2 is still the most current version as you read this, you
-    can get around it with a little more work by changing all of the
-    'msvs2005prj' references in mysql++.bkl to 'msvc6prj' instead.
-    Then the command is:
-
-        bakefile -f msvc6prj mysql++.bkl
-
-    Having done that, you can open the mysql++.dsw file this produces
-    and let Visual Studio convert it to the 2003 format for you.
-
-    The other issue is that MySQL++'s SSQLS feature depends on a
-    feature of newer C++ compilers called variadic macro argument
-    lists, which Visual C++ 2003 doesn't support.  You can disable the
-    use of this C++ feature at the expense of not being able to use
-    a given SSQLS macro in more than one module within your program.
-    If you can live with that and you have a Perl interpreter on your
-    system, you need to go into the lib subdirectory of the MySQL++
-    distribution and say:
+    MySQL++'s SSQLS feature depends on a feature of newer C++
+    compilers called variadic macro argument lists, which Visual
+    C++ 2003 doesn't support.  You can disable the use of this C++
+    feature at the expense of not being able to use a given SSQLS
+    macro in more than one module within your program.  If you can
+    live with that and you have a Perl interpreter on your system,
+    go into the lib subdirectory of the MySQL++ distribution and say:
 
         perl custom.pl -v
 

Modified: trunk/Wishlist
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/Wishlist?rev=1998&r1=1997&r2=1998&view=diff
==============================================================================
--- trunk/Wishlist (original)
+++ trunk/Wishlist Tue Dec 11 07:26:42 2007
@@ -39,12 +39,6 @@
     o Is MYSQLPP_QUERY_THISPTR still needed with VC++2003?  The recent
       manipulator changes and the removal of all operator<<(Query&,
       const T&) may make it unnecessary.
-
-    o If Bakefile 0.2.3 (guessing) comes out before we release, change
-      all the msvs2005prj references in mysql++.bkl, Bakefiles.bkgen
-      and rebake.bat to msvs2003prj and remove the section on doing
-      this by hand from README.vc.  If not, we might need to update
-      some of the FAQ items on the MySQL++ home page.
 
     o Test with Visual Studio 2008 Professional and Express.  If it
       works, update FAQ.

Modified: trunk/mysql++.bkl
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/mysql%2B%2B.bkl?rev=1998&r1=1997&r2=1998&view=diff
==============================================================================
--- trunk/mysql++.bkl (original)
+++ trunk/mysql++.bkl Tue Dec 11 07:26:42 2007
@@ -10,7 +10,7 @@
        <set var="ZLIB">yes</set>
 
        <set var="THREAD_TYPE">single</set>
-       <if cond="FORMAT in ['msvs2005prj', 'mingw']">
+       <if cond="FORMAT in ['msvs2003prj', 'mingw']">
                <set var="THREAD_TYPE">multi</set>
        </if>
                
@@ -80,7 +80,7 @@
                        
                        <install-to>$(LIBDIR)</install-to>
                        
-                       <if cond="FORMAT=='msvs2005prj'">
+                       <if cond="FORMAT=='msvs2003prj'">
                                <define>_UNICODE</define>
                                <define>MYSQLPP_MAKING_DLL</define>
                                <define>HAVE_MYSQL_SSL_SET</define>
@@ -147,7 +147,7 @@
                        <lib-path>.</lib-path>
                </if>
 
-               <if cond="FORMAT=='msvs2005prj'">
+               <if cond="FORMAT=='msvs2003prj'">
                        <define>_UNICODE</define>
                        <lib-path>$(BUILD)</lib-path>
                        <include>$(MYSQL_WIN_DIR)\include</include>

Modified: trunk/rebake.bat
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/rebake.bat?rev=1998&r1=1997&r2=1998&view=diff
==============================================================================
--- trunk/rebake.bat (original)
+++ trunk/rebake.bat Tue Dec 11 07:26:42 2007
@@ -1,2 +1,2 @@
 @echo on
-bakefile_gen -f msvs2005prj %* && start mysql++.sln
+bakefile_gen -f msvs2003prj %* && start mysql++.sln


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to