BIBInfo Block

The BibInfo block provides the Project.bib file entries for an implementation. There can only be one BibInfo() block per implementation. If no BibInfo() block is specified, then no BIB entries will be recorded. The following code example shows a BIBInfo block.

BibInfo (
   Files (
      File (
         GUID({AAAABBBB-1234-1234-1234-AAAABBBBCCCC})
         CPU( "default" )
         BibRecord( '#MODULES( "MyDll.dll", "$(_FLATRELEASEDIR)\MyDll.dll", "NK" , "SHRU" )' )
      )

      File (
         GUID({BBBBAAAA-4321-4321-4321-CCCCBBBBAAAA})
         CPU( "SH3" )  //  In this example, SH3 has another bib entry
         BibRecord( '#MODULES( "MySH3dll.dll", "$(_FLATRELEASEDIR)\MySH3dll.dll", "NK" , "RU" )' )
      )
   )
)

The following table lists the elements of the BIBInfo sub blocks.

Element Description
GUID Optional element that contains the GUID of the BIB file data. If no GUID is present during import, a new GUID will be assigned by the catalog.
CPU Element that specifies which CPUs this BIB file supports. The following microprocessors are supported by default: ARMV4, ARMV4I, ARMV4T, emulator, MIPS16, MIPSII, MIPSII_FP, MIPSIV, MIPSIV_FP, SH3, SH4, and x86.

The microprocessor list must be surrounded by quotation marks. The string "default" refers to the default microprocessor list.

BibRecord Element that specifies what data gets entered into the Project.bib file, using a string in the following formats.
BibRecord ( '#MODULES( "FILENAME" , "FILEPATH", "MEMORY_SECTION" , "ATTRIBUTES")' )
BibRecord ( '#FILES( "FILENAME" , "FILEPATH", "MEMORY_SECTION" , "ATTRIBUTES")' )

The BibRecord may write information of the following types:

  • #MODULES

    Means that the BibRecord will write information to the Modules section of the BIB file

  • #FILES

    Means that the BibRecord will write information to the "Files" section of the BIB file

The following is an example of a BibRecord entry.

BibRecord ( '#MODULES( "MyFile.dll", "$(_FLATRELEASEDIR)\MyFile.dll", "NK" , "SHRU" )' )

BibRecords are entered into the BIB file in the order they appear in the .cec file. Each File() section can have one or more BibRecord() entries.

Note   BibRecords must be in single quotation marks, and the parameters must be in double quotation marks.

See Also

Catalog Feature Files

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.