sources
file:提供给build.exe编译和链接所需的信息。Sources.cmn可有可没有,它对它所在的文件夹及子文件夹都有效,提供共用的宏定义。
After Build.exe parses the sources file, Nmake.exe incorporates the
sources file into the common makefile file, Makefile.def. Build.exe
follows only the macro assignments and ignores other lines, such as
conditional Nmake.exe statements. Conditional statements in sources
files are not supported.
Dirs File:告诉build.exe哪些文件夹需要编译
Build
Tool:build.exe先分析是否有dirs文件,有则遍历文件夹直到找到sources文件,然后调用nmake.exe编译、链接源代码生成目
标文件,再由build.exe生成最终的文件(.exe/.dll/.lib),生成文件放置的目录及命令参数等见Build Tool
Sysgen Tool
Nmake Tool:类似Linux下的make。它本身并不执行真正的编译过程,而是调用.mak文件中的命令来完成。但我找不到.mak,应该是makefile/makefile.def。
Makefile File:
Windows CE Build Environment Tool:wince.bat,命令格式:wince [-h] [_TGTCPU]
[_TGTPROJ] [_TGTPLAT]
[PRIVATE_OPTIONS],由此可见要先输入目标CPU/PROJ/PLAT,另外运行前要先设置变量:_WINCEROOT、
_FLATRELEASEDIR、_PROJECTROOT,[_TGTCPU] [_TGTPROJ]
[_TGTPLAT]这三个可以运行命令时指定,应该也可以事先设置。
bif文件:
Environment Variables: