Echelon IzoT NodeBuilder User Manual

Page 264

Advertising
background image

Using the NodeBuilder Command Line Project Make

Facility

You can invoke the NodeBuilder build tools from the Windows command line. You can use this
feature to generate automated build scripts for your devices. To invoke the NodeBuilder Command
Line Project Make Utility and build a project, open a Windows command prompt and enter the
following command:

pmk [–p=<Project> <command line switches> -t=<Target>

You must specify what kind of operation will take place: a build (see the –b command switch), a query
(see the –q command switch), or a clean (see the –x command switch). All other command line
switches are optional. The pmk command performs one build, query, or clean operation.

You can use the following command line switches:

-? <cmd>

(or --help <cmd>)

Displays usage help for the <cmd> command. Providing no command
at all also displays the list of the available commands and a brief usage
hint.

-@ <file>

Uses <file> as input to the project make. This file can contain
command line switches to be used by the project make facility. You can
set the Generate build script option in the Build tab of the
NodeBuilder Project Properties dialog to have the IzoT NodeBuilder
tool automatically generate a command file (.CMD extension) that will
allow you to reproduce the current build from the command line. This
command file will be placed in the device template target folder, and
will have the name <device template name>.cmd. If multiple targets
are built, a separate command file will be generated for each.

--always (or –a)

Causes NodeBuilder to perform an unconditional build. See Building
an Application Image
for more information. This causes a clean
command to be executed before the build.

–b <nbdt>

Indicates that a build operation will be made on the selected
NodeBuilder device template (.NbDt extension) for the target specified
by the –t command switch. The device template will be compiled,
linked, and exported. You can only specify a single device template per
make command.

–c <nbdt>

Specifies a NodeBuilder device template file (.NbDt extension) to be
compiled. You can only specify a single device template per make
command.

250

Appendix A: Using The Command Line Project Make Facility

Advertising