<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://svn.reviewboard.kde.org/r/6354/">http://svn.reviewboard.kde.org/r/6354/</a>
</td>
</tr>
</table>
<br />
<p>Ship it!</p>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Good stuff.
At some point we should extract the "switch to build dir" code into a separate file, so that it can be used by the "cb" alias/script, too...</pre>
<br />
<p>- David</p>
<br />
<p>On January 17th, 2011, 10:01 p.m., Allen Winter wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://svn.reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for kdelibs.</div>
<div>By Allen Winter.</div>
<p style="color: grey;"><i>Updated Jan. 17, 2011, 10:01 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This patch adds variable substitution to makeobj's $OBJ_SUBDIR and $OBJ_REPLACEMENT, allowing one to maintain multiple builddirs within the same project directory. This is especially useful for keeping builddirs for different branches in 1 git repo.
For example, one could set OBJ_SUBDIR=build-%GITBRANCH% and then have build-branch1; build-branch2... within the same git repo.
Also, I added variables for keeping builddirs of different platforms inside the same project dir.
So you could have have build-master-gcc; build-master-icc; build-branch-gcc; build-branch-icc all in the same project.
We could always add more variables as needed, but for now I only have these:
%BRANCH% with the name of the Git or SVN branch you are in (as applicable)
%GITBRANCH% with the name of the Git branch you are in (empty if not in a Git branch)
%SVNBRANCH% with the name of the SVN branch you are in (empty if not in an SVN branch)
%CC% with the basename of your C compiler set in $CC (gcc if empty)
%CXX% with the basename of your C++ compiler set in $CXX (g++ if empty)
%ARCH% with the machine architecture (i.e. 'uname -m')
%OS% with the operating system name (i.e. 'uname -o'), in lower-case without "GNU"
</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">building kdepim-master and kdepim-enterprise and kdepim-4.4 all in the same git repo.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>trunk/KDE/kdesdk/scripts/makeobj <span style="color: grey">(1208110)</span></li>
</ul>
<p><a href="http://svn.reviewboard.kde.org/r/6354/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>