Specify the command to be executed before SMS assemble processing.
Use the call instruction to specify a batch file (example: call a.bat).
The following placeholders are supported.
%ActiveProjectDir%: Replaces with the absolute path of the active project folder.
%ActiveProjectName%: Replaces with the active project name.
%AssembledFile%: Replaces with the absolute path of the output file under assembling.
%BuildModeName%: Replaces with the build mode name.
%InputFile%: Replaces with the absolute path of the file to be assembled (except in case of simultaneous building).
%MainProjectDir%: Replaces with the absolute path of the main project folder.
%MainProjectName%: Replaces with the main project name.
%MicomToolPath%: Replaces with the absolute path of the install folder of this product.
%Options%: Replaces with the command line option under build execution.
%OutputDir%: Replaces with the absolute path of the output folder.
%OutputFile%: Replaces with the absolute path of the output file.
%Program%: Replaces with the program name under execution.
%ProjectDir%: Replaces with the absolute path of the project folder.
%ProjectName%: Replaces with the project name.
%TempDir%: Replaces with the absolute path of the temporary folder.
%WinDir%: Replaces with the absolute path of the Windows system folder.
When "#!python" is described in the first line, the contents from the second line to the last line are regarded as the script of the Python console, and then executed before assemble processing.
The placeholders can be described in the script.
The specified command is displayed as the subproperty.
|