Author: wyoung
Date: Thu Jun 21 19:19:50 2007
New Revision: 1580

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1580&view=rev
Log:
Fixed some path handling in MinGW build that assumed you got a release
and a debug version, like with VC++.  It now assumes its always a debug
version, and warns user that they need to do a manual install if they
managed to coax a release version out of the build system.

Modified:
    trunk/install.bat

Modified: trunk/install.bat
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/install.bat?rev=1580&r1=1579&r2=1580&view=diff
==============================================================================
--- trunk/install.bat (original)
+++ trunk/install.bat Thu Jun 21 19:19:50 2007
@@ -13,15 +13,17 @@
 
 copy lib\*.h "%INST_INC_DIR%" > NUL
 
-if exist debug\*.a goto install_mingw
+if exist *.a goto install_mingw
 copy debug\*.dll "%INST_LIB_DIR%\debug" > NUL
 copy debug\*.lib "%INST_LIB_DIR%\debug" > NUL
 copy release\*.dll "%INST_LIB_DIR%\release" > NUL
 copy release\*.lib "%INST_LIB_DIR%\release" > NUL
 goto install_done
 :install_mingw
-copy debug\*.a "%INST_LIB_DIR%\debug" > NUL
-copy release\*.a "%INST_LIB_DIR%\release" > NUL
+copy *.a "%INST_LIB_DIR%\debug" > NUL
+echo WARNING: I assume you built a debug version of the library, as that
+echo is what you get with MinGW unless you make a special effort.  You
+echo must do a manual install if you make a release version.
 
 :install_done
 echo MySQL++ (%1 version) installed successfully!


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

Reply via email to