BuildMethod Block (Windows CE 5.0)
The BuildMethod block provides information about which CPUs support your Catalog item and, if applicable, links to source files, Help documentation (.chm) files, and user-created projects.
Note Build-specific information in custom CEC files is not supported in Windows CE 5.0. Although this does not prevent CEC files from earlier versions of Platform Builder from being used, the information that is no longer supported, such as custom build steps, is ignored. For information about including custom build actions at a project level in your OS design, see Specifying Project Settings.
For more information about changes to BuildMethod blocks in Windows CE 5.0, see Catalog Item Migration.
The following code example shows a BuildMethod block.
BuildMethods(
BuildMethod(
CPU ( "x86" )
Step ( BSP )
Action ( '#CLONE_MODULE(common,ddi_flat)' )
)
)
The following table shows the elements of a BuildMethod block.
Element | Description |
---|---|
CPU | Specifies which microprocessors this build method supports.
The following microprocessors are supported by default:
The microprocessor list must be enclosed in quotation marks. The string "default" refers to the default microprocessor list. |
CoreOS | (Optional) Specifies whether the Catalog item is a Core OS Catalog item, or a Third Party Catalog item.
Uses the format shown in the following code example.
|
Step | Build step. Only one step per build method is allowed.
|
GUID | (Optional) Supplies the GUID for the build method.
If the GUID is not present, it is created when the implementation is imported. |
Setting | (Optional) Supplies a path for the Help documentation, using the following format.
This attaches an HTML Help file (.chm) to the Catalog item described in the .cec file. Exported SDKs that include the item will also contain the associated HTML help files. This setting is used to determine whether a help file is exported to the SDK for the OS design. |
Action | Specifies metadata associated with the selected Catalog item or module, using a string that uses one of the following formats:
Valid metadata descriptors that you can choose include the following:
|
See Also
Catalog Item Files | Build Phases
Send Feedback on this topic to the authors