Download SilTools Developer`s Guide

Transcript
Dependency Management
comodules
This file specifies the build areas that must also be
included when the mybuild build area is included in a
product (when the order is unimportant).
Both supmodules and comodules have the same syntax. Modules
listed in the supmodules file (within the cim/build/<mybuild>
directory) will be linked in before the mybuild build area during
product creation. A simple example of a supmodules or comodules
file is
robot
paint paint14
arc
In this example, no version is specified for robot. Therefore, the
current version for robot will be used (listed in
cim/silspec/versions). For paint, paint14 is indicated. Since
no version is specified for arc, the current version is used (listed in
cim/options/versions).
umodules
For example, to create a product with appsup11, the current version of
rkintf, arcweld7, and the current version of paint, the umodules
file would read
appsup appsup11
rkintf
arcweld arcweld7
paint
To set up your product with a umodules file:
1. Create a directory for your product
(cim/template/<mytemplate>).
2. Create the umodules file.
Developer’s Guide
(7/96)
11-13
Working with SIL Code
umodules is a file which can be used to specify all modules to be
included in a product. The umodules file (which resides in
cim/templates/<mytemplate> area) has syntax like the
supmodules and comodules files.