bld.inf file syntax overview

Component definition files, which are always called bld.inf, are used by bldmake to define the abld.bat and makefiles to be created.

bld.inf files are made up of a number of sections, with headers prj_platforms, prj_exports, prj_testexports, and prj_mmpfiles.

Note that:

  • Each section header can appear any number of times in the file (including none).

  • The section headers and their data are case-insensitive.

  • A trailing backslash is used to indicate a line continuation.

  • Use the C++ style comment syntax for comments.

  • Preprocessor directives such as #include and #ifdef can be used.


// Files to be exported
prj_exports
myheader1.h
myheader2.h

// Project files
prj_mmpfiles
myprj1.mmp
myprj2.mmp

// Files to be exported for test purposes
prj_testexports
mytestheader1.h

// Project files for test programs
prj_testmmpfiles
mytest1.mmp
mytest2.mmp