Author: wyoung
Date: Sat Jan 6 05:59:41 2007
New Revision: 1350
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1350&view=rev
Log:
Updated exrun programs to take new build system structure into account.
Added:
trunk/exrun
- copied, changed from r1347, trunk/examples/exrun
trunk/exrun.bat
- copied, changed from r1347, trunk/examples/exrun.bat
Removed:
trunk/examples/exrun
trunk/examples/exrun.bat
Copied: trunk/exrun (from r1347, trunk/examples/exrun)
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/exrun?p2=trunk/exrun&p1=trunk/examples/exrun&r1=1347&r2=1350&rev=1350&view=diff
==============================================================================
--- trunk/examples/exrun (original)
+++ trunk/exrun Sat Jan 6 05:59:41 2007
@@ -3,8 +3,8 @@
then
echo "usage: $0 <example> [args...]"
echo
- echo " Runs the given example, using the library built in ../lib
instead"
- echo " of using the system library search mechanism. Accepts an "
+ echo " Runs the given example, using the library in the current
directory"
+ echo " instead of using the system library search mechanism. Accepts
an "
echo " arbitrary number of arguments."
echo
exit 1
@@ -13,17 +13,17 @@
PROG=$1
shift
-if [ ! -e ../lib/libmysqlpp.so.2 ]
+if [ ! -e libmysqlpp.so.2 ]
then
- ( cd ../lib ; ln -sf libmysqlpp.so libmysqlpp.so.2 )
+ ( ln -sf libmysqlpp.so libmysqlpp.so.2 )
fi
if [ -e /usr/bin/ldd ]
then
- LD_LIBRARY_PATH=../lib ./$PROG $*
+ LD_LIBRARY_PATH=. ./$PROG $*
elif [ -e /usr/bin/otool ]
then
- DYLD_LIBRARY_PATH=../lib ./$PROG $*
+ DYLD_LIBRARY_PATH=. ./$PROG $*
else
echo ERROR: I don\'t grok this system\'s dynamic linkage system.
fi
Copied: trunk/exrun.bat (from r1347, trunk/examples/exrun.bat)
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/exrun.bat?p2=trunk/exrun.bat&p1=trunk/examples/exrun.bat&r1=1347&r2=1350&rev=1350&view=diff
==============================================================================
--- trunk/examples/exrun.bat (original)
+++ trunk/exrun.bat Sat Jan 6 05:59:41 2007
@@ -1,7 +1,7 @@
@echo off
set PROG=%1
-if not exist %PROG% set PROG=debug\%1
+if not exist %PROG% set PROG=Debug\%1
shift
-set PATH=..\lib;%PATH%
+set PATH=Debug;%PATH%
%PROG% %*
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits