From f1de8cfebfc1d052835fd0c61fde7a4a53650c00 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 10 Aug 2007 18:59:42 +0000 Subject: [PATCH] Add a short section about using Builder to Readme.txt --- Readme.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Readme.txt b/Readme.txt index dda34d6..6b6e356 100644 --- a/Readme.txt +++ b/Readme.txt @@ -25,3 +25,17 @@ need to have their sources available. By default, it will look at the parent directory of builder. You can change this by setting the LIBPATH evironment variable for the script. If everything goes well, you should have a builder-stage1 binary that you can use to build a normal version of Builder. + + +* Using Builder in your project + +To use Builder, you need to create a Build file that tells what it should +build. This file defines two main types of entities: packages and components. +usually there is only one package definition in a Build file. + +The Build file uses a C-like structured language. It consists of statements +and blocks. Statements are terminated with a semicolon (';'). Blocks are +enclosed in braces ('{' and '}'). If a statement contains a block of +substatements, the semicolon comes after the closing brace. + +For a simple example, look at Builder's own Build file. -- 2.43.0