Code Coverage Tool Reference Manual
Building the Application
HP Code Coverage Tool Reference Manual for HP Integrity NonStop NS-Series Servers—542684-004
3-4
HP Enterprise Toolkit (ETK) Considerations
HP Enterprise Toolkit (ETK) Considerations
For each source file that is to generate instrumented object code at compile time, you
must add the appropriate compiler driver flags to the Additional box on the compiler's
General page. You can add the information at the project level, in which case it applies
to all source files in the project, or at the file level to select a subset of files to be
instrumented. Enter the flags exactly as you would enter them on the command line
invoking a compiler driver.
In addition, you must specify the dynamic-link library zpgodll as input at link time. Enter
pgo in the Dynamic and Static Libraries text box on the Linker Input property page. If
the box already specifies other libraries, append pgo to the list, using a semicolon (;)
as the separator.
Example
See Build the Application on page 8-3.










