How BSCMAKE Builds a .BSC File
BSCMAKE builds or rebuilds a .BSC file in the most efficient way it can. To avoid potential problems, it is important to understand the build process.
When BSCMAKE builds a browse information file, it truncates the .SBR files to zero length. During a subsequent build of the same file, a zero-length (or empty) .SBR file tells BSCMAKE that the .SBR file has no new contribution to make. It lets BSCMAKE know that an update of that part of the file is not required and an incremental build will be sufficient. During every build (unless the /n option is specified), BSCMAKE first attempts to update the file incrementally by using only those .SBR files that have changed.
BSCMAKE looks for a .BSC file that has the name specified with the /o option. If /o is not specified, BSCMAKE looks for a file that has the base name of the first .SBR file and a .BSC extension. If the file exists, BSCMAKE performs an incremental build of the browse information file using only the contributing .SBR files. If the file does not exist, BSCMAKE performs a full build using all .SBR files. The rules for builds are as follows:
For a full build to succeed, all specified .SBR files must exist and must not be truncated. If an .SBR file is truncated, you must rebuild it (by recompiling or assembling) before running BSCMAKE.
For an incremental build to succeed, the .BSC file must exist. All contributing .SBR files, even empty files, must exist and must be specified on the BSCMAKE command line. If you omit an .SBR file from the command line, BSCMAKE removes its contribution from the file.