|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-EDCBBB5E-FAAD-50A5-9EE4-B4F399B77CE9" xml:lang="en"><title>bld.inf |
|
13 file syntax overview</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>Component definition files, which are always called <filepath>bld.inf</filepath>, |
|
15 are used by <filepath>bldmake</filepath> to define the <filepath>abld.bat</filepath> and |
|
16 makefiles to be created. </p> |
|
17 <p> <filepath>bld.inf</filepath> files are made up of a number of sections, |
|
18 with headers <codeph>prj_platforms</codeph>, <codeph>prj_exports</codeph>, <codeph>prj_testexports</codeph>, |
|
19 and <codeph>prj_mmpfiles</codeph>. </p> |
|
20 <p>Note that: </p> |
|
21 <ul> |
|
22 <li id="GUID-875CF96D-B898-5119-A001-61F3F71855F3"><p>Each section header |
|
23 can appear any number of times in the file (including none). </p> </li> |
|
24 <li id="GUID-92F814D6-0BD4-580F-9A00-3F738751205A"><p>The section headers |
|
25 and their data are case-insensitive. </p> </li> |
|
26 <li id="GUID-C8A564A9-E6DB-5AD1-863C-656D4EE51162"><p>A trailing backslash |
|
27 is used to indicate a line continuation. </p> </li> |
|
28 <li id="GUID-F59AFB06-DA52-5183-B642-97900C9858DB"><p>Use the C++ style comment |
|
29 syntax for comments. </p> </li> |
|
30 <li id="GUID-873B038F-3E47-5E51-9C1D-CC4E13F91F4E"><p>Preprocessor directives |
|
31 such as <codeph>#include</codeph> and <codeph>#ifdef</codeph> can |
|
32 be used. </p> </li> |
|
33 </ul> |
|
34 <example><codeblock id="GUID-4731BBE0-0CEA-5DAA-8CFC-E4375B9A7D44" xml:space="preserve"> |
|
35 // Files to be exported |
|
36 prj_exports |
|
37 myheader1.h |
|
38 myheader2.h |
|
39 |
|
40 // Project files |
|
41 prj_mmpfiles |
|
42 myprj1.mmp |
|
43 myprj2.mmp |
|
44 |
|
45 // Files to be exported for test purposes |
|
46 prj_testexports |
|
47 mytestheader1.h |
|
48 |
|
49 // Project files for test programs |
|
50 prj_testmmpfiles |
|
51 mytest1.mmp |
|
52 mytest2.mmp</codeblock></example> |
|
53 </conbody></concept> |