OS Design Command-Line Utilities Tool (Pbxmlutils.exe) (Compact 2013)

3/26/2014

The OS Design Command-Line Utilities Tool (pbxmlutils.exe) provides several different utilities that you can use with an OS design (.pbxml) file that you created by using Platform Builder. They can do the following:

  • Generates a Setenv.bat file that is used to configure your command-line build environment
  • Generates build files
  • Outputs specific information about the OS design

Syntax

pbxmlutils /getbuildenv [/getcustomactions <step>] [/listconfigs] 
/workspace %PBWORKSPACE% 
/config "Platform Processor Configuration" > Setenv.bat

Arguments

  • /getbuildenv
    Outputs a batch file for setting up a build environment.
  • /listconfigs
    Shows a numbered list of configurations, which is useful for identifying the corresponding string or number to specify in the /config argument.
  • /workspace <filename>
    Specifies the full path of the OS design .pbxml file. For example, C:\WINCE800\OSDesigns\EnterpriseWebPadOS\EnterpriseWebPadOS\EnterpriseWebPadOS.pbxml. If you omit it, this tool uses the value of the PBWORKSPACE environment variable.
  • /config <name or number of configuration>
    Specifies the configuration to use. If you omit it, the tool uses the value of the PBCONFIG environment variable.
  • > Setenv.bat
    Indicates the output file that provides the build environment settings. Wince.bat calls Setenv.bat during the build process for a run-time image.

Example

The following example command shows how to use pbxmlutils.exe:

pbxmlutils /getbuildenv /workspace 
C:\WINCE800\OSDesigns\EnterpriseWebPadOS\EnterpriseWebPadOS\EnterpriseWebPadOS.pbxml 
/config "Device Emulator ARMV4I Debug" > Setenv.bat

See Also

Other Resources

Build System Command Line Tools