Author: wyoung
Date: Mon Feb 27 15:33:01 2006
New Revision: 1173
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1173&view=rev
Log:
Examples now build util module into a static convenience library
(e.g. libmysqlpp_util.a on Unix) so each example doesn't have to rebuild
the module to make Bakefile happy.
Modified:
branches/v2.1-bakefile/examples/examples.bkl
Modified: branches/v2.1-bakefile/examples/examples.bkl
URL:
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/examples/examples.bkl?rev=1173&r1=1172&r2=1173&view=diff
==============================================================================
--- branches/v2.1-bakefile/examples/examples.bkl (original)
+++ branches/v2.1-bakefile/examples/examples.bkl Mon Feb 27 15:33:01 2006
@@ -47,13 +47,21 @@
<!-- Extend 'example' template for the subset of examples that
use the util module. -->
<template id="std-example" template="example">
- <sources>util.cpp</sources>
+ <depends>util</depends>
+ <lib-path>.</lib-path>
+ <sys-lib>mysqlpp_util</sys-lib>
</template>
<!-- Define output targets -->
- <!-- First, the "standard" examples, those being the ones that
- all depend on the util module -->
+ <!-- The "util" convenience library -->
+ <lib id="util" template="example">
+ <libname>mysqlpp_util</libname>
+ <sources>util.cpp</sources>
+ </lib>
+
+ <!-- The "standard" examples, being the ones that depend on
+ the util library. -->
<exe id="resetdb" template="std-example">
<sources>resetdb.cpp</sources>
</exe>
@@ -97,7 +105,7 @@
<sources>fieldinf1.cpp</sources>
</exe>
- <!-- Next, the "nonstandard" examples -->
+ <!-- The "nonstandard" examples -->
<exe id="cgi_image" template="example">
<sources>cgi_image.cpp</sources>
</exe>
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits