10.6. Other Configuration Files: PkgBase.DefaultData and pkgconf.cbcl

There are a lot more resources bundled with the programs of Elego ComPact, but probably only two that you will need to customize. These are the following files:

10.6.1. PkgBase.DefaultData

describes the structure of packages and a number of operations that can be applied to them. This file contains a series of package kind declarations, which consist of a package name, a structure description which is used to identify and create a package, and a list of operations like buildlocal, clean, mkdep, isrelease, etc. The syntax of this file is quite straighforward and is described in the Project Manager Manual in the chapter Configuration of the Project Management Activities. You can find a sample on the CD in /config/PkgBase.DefaultData.

PkgBase.DefaultDatais used by the programs pkgm and prjm to identify packages and by prjm to apply appropriate actions to different kinds of packages.

10.6.2. pkgconf.cbcl

is the backend configuration file of the ComPact Package Manager pkgm. It is used to describe and configure all elements and procedures of the build management. You need to customize this file if you want to



The backend configuration file is written in its own language, CBCL, the ComPact Backend Configuration Language. It is fairly sophisticated and not meant for everyday use by programmers, but rather by system experts who define the development environments for your company. In fact, the separation of all the complex and error-prone stuff that defines how compilers, linkers, and other tools are called from the description of the elements of your software (in the package description file PkgDesc) is one of the major advantages of the ComPact build management over the traditional way using make.

The syntax and semantics of pkgconf.cbcl are described in detail in section Configuration Files of the ComPact Package Manager Manual.

You can find a sample pkgconf.cbcl on the CD in config/pkgconf.cbcl.