Scenario: run mcompile to compile all executable maps
In this scenario, you run the mcompile utility command to compile all executable maps.
Use the mcompile utility command to compile all the executable maps from the command line, outside the Map Designer GUI.
The following example shows how you can use the command with the (-A) option to compile all the executable maps:
install_dir> mcompile mymaps.mms
-A -E -P WINDOWS
-O C:\MyDev\Compiledmaps\*.mmc
-R C:\MyDev\CompiledResults\mymaps_*.mme
-LOG C:\MyDev\CompiledResults\
*.buildresults.txt
-FAIL -APPEND
When you run the example, the following result occurs:
- If all the maps are compiled successfully, the mcompile - completed successfully. message displays on the console.
- The FristMyExecMap.mmc, MyExecMap.mmc, NewExecMap.mmc compiled map files are produced for WINDOWS in the C:\MyDev\Compiledmaps directory.
- The mymaps_FristMyExecMap.mme, mymaps_MyExecMap.mme, mymaps_NewExecMap.mme build results files are produced in the C:\MyDev\CompiledResults directory.
If the mymaps_buildresults.txt log file does not exist, it is produced in the C:\MyDev\CompiledResults directory. If the mymaps_buildresults.txt log file already exists, only the failed maps' log messages are appended to the existing file.