In wince5.0, we can see different compilation options in the "build OS" menu:
"Sysgen", "Build and sysgen" and "Build and sysgen current BSP"
Sysgen: Needless to say, this is used when you add or delete a new item in "catalog.
Build and sysgen: When you updateSource codeYou need to use this. Generally, after the patch is changed, you may need to build and sysgen.
Build and sysgen current BSP: When you only changeCodeYou can use this option. It is said that when you change the code in the platform directory, you can also use this, but you have not tried it.
In wince6.0, there is an "Advanced build commands" in the "build" menu of vs2005, which has many compilation options:
"Sysgen": equivalent to executing the command "blddemo-Q". This is usually used when the item in "catalog" is compiled or changed for the first time.
"Clean sysgen": equivalent to executing the command "blddemo clean-Q". According to the instructions in the document, when % _ winceroot % publiccebaseoakmisccesysgen is modified. use this to compile the environment variables prefixed with sysgen and BSP during bat.
Here I will talk about my personal experience. Generally, when I create a project for the first time, I will use the "sysgen" command, in the future, I will use "clean sysgen ", if the environment variable prefixed with BSP is changed, you may not need to use "clean sysgen ". Continue...
"Build and sysgen": equivalent to executing the command "blddemo". When the code in the public directory is changed, for example, you have changed the patch of wince, you need to use this.
"Rebuild and sysgen clean": it is equivalent to executing the command "blddemo clean cleanplat-c", which is equivalent to clearing the last compiled file, and then re-compiling the public directory and your project.
"Build and sysgen current BSP": equivalent to executing the command "blddemo-qbsp" and only compiling the code under the platform directory. So when the code under the platform directory is changed or the BSP code is changed, you can use this to compile.
"Rebuild and clean sysgen current BSP": equivalent to executing the command "blddemo-qbsp-c", equivalent to completely re-compiling the code to be compiled under the platform directory.