Edgewall Software

Changes between Version 91 and Version 92 of Bitten Faq


Ignore:
Timestamp:
May 21, 2009, 8:40:18 PM (15 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Bitten Faq

    v91 v92  
    4949
    5050See this sample for [wiki:BittenSampleRecipes Microsoft Visual Studio projects using MSBUILD] or this one for [wiki:BittenSampleJavaRecipe Java projects using JUnit and Ant].  See also this recipe to [wiki:RecipeFtpDownload download and untar a file from an ftp server].  See also this recipe to [wiki:BittenSampleMonotoneRecipe build from a monotone repository].
     51
     52=== Can slaves know which platform they're building? ===
     53
     54If a slave can build both the gcc 4.1 and gcc 4.3 target platforms, it will need to know which one is to be built. The ''${platform}'' variable, introduced in #376, may be used for this purpose, for example the recipe file would look like this:
     55{{{
     56<build xmlns:c="http://bitten.cmlenz.net/tools/c">
     57        <step id="compile">
     58                <c:make target="all" args="GCC_VERSION=${platform}"/>
     59        </step>
     60</build>
     61}}}
    5162
    5263