The manual states: -i import_file.xml Creates a new project or updates an existing project using the data provided by an XML file, which has to be compliant to the schema project_import.xsd available in the directory ..\UV4. The target name can be specified with the option -t. By default, the target name is set to the device name. The GUI is suppressed automatically when using this option.
Examples: UV4 MyProject.uvprojx –i MyImport.xml
But it doesn't provide any example of what might be in the MyImport.xml. Can anyone elaborate? I'm most interested in the "updates an existing project" aspect of it, as I'd like to enable and disable a pre-build step based on command line input instead of having a separate target to maintain.
Thanks, -J
User commands are the only exception I see. Updating one User command (Ex. "AfterBuild2") won't affect the other User commands.
For reference
http://www.keil.com/support/man/docs/uv4/uv4_commandline.htm