MTK compilation is divided into resource compilation and code compilation.
1) Compile Resources
A) In the following cases, you need to recompile the resource:
L modified the serial resource file (ref_list.txt), font file (fontres. C, L _ **. h), MMI configuration file (mmi_featurespluto.h), and so on. These files are located in
../Plutommi/customer/custresource/pluto_mmi /;
L modified the MMI resource loading configuration files, which are located in
.. /Plutommi/customer/custresource/pluto_mmi/res_mmi directory, all of which are RES _*. * file: The resource loading file for each AP or module, including the configuration for loading menus, images, and string resources;
L note: The Cust *. * file is generated by resource compilation and cannot be modified manually.
B) Compilation Method
Go to the ../plutommi/customer directory and run remakeresource. bat. If it is used on the simulator, you need to build it in the VC environment to see the effect.
C) files related to resource Compilation
L resgenerator_h1_bat
It is automatically called when "new" and "resgen" options are available during compilation of the mobile phone target board project;
L resgenerator. bat
In the mobile PC simulator project, you must manually call the new resource after adding it;
L remakeresource. bat
In the mobile phone PC simulator project, you must manually call it to replace images or update strings;
L res_gen.txt
The log file compiled by the resource is under the build directory;
L makefile
../Plutommi/customer/resgenerator/makefile
This file is the makefile of the Resource load precompiled program;
L populateres. c
../Plutommi/MMI/resource/populateres. c
Executes resource loading. The main body is the function populateresdata (),
Mtk_resgenerator.exe calls this function during execution;
L mmidatatype. h
../Plutommi/MMI/INC/mmidatatype. h
Defines the range of AP IDs.