Changes between Version 91 and Version 92 of Bitten Faq
- Timestamp:
- May 21, 2009, 8:40:18 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Bitten Faq
v91 v92 49 49 50 50 See 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 54 If 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 }}} 51 62 52 63