Although BSCMAKE is still installed with Visual Studio, it is no longer used by the IDE. Since Visual Studio 2008, browse and symbol information is stored automatically in a SQL Server
.sdf file in the solution folder.
This section describes the options available for controlling BSCMAKE. Several options control the content of the browse information file by excluding or including certain information. The exclusion options can allow BSCMAKE to run faster and may result in a smaller
.bsc file. Option names are case-sensitive (except for /HELP and /NOLOGO).
Only /NOLOGO and /o are available from within the Visual Studio development environment. See Set C++ compiler and build properties in Visual Studio for information on access a project's property pages.
Excludes the contents of the specified include files from the browse information file. To specify multiple files, separate the names with a space and enclose the list in parentheses. Parentheses aren't necessary if you specify only one filename. Use /Ei along with the /Es option to exclude files not excluded by /Es.
Excludes local symbols. The default is to include local symbols. For more information about local symbols, see Creating an .sbr File.
Excludes symbols in the body of macros. Use /Em to include only the names of macros in the browse information file. The default is to include both the macro names and the result of the macro expansions.
Excludes the specified symbols from the browse information file. To specify multiple symbol names, separate the names with a space and enclose the list in parentheses. Parentheses are unnecessary if you specify only one symbol.
Excludes every include file specified with an absolute path, or found in an absolute path specified in the INCLUDE environment variable. (Usually, these files are the system include files, which contain much information you may not need in your browse information file.) This option doesn't exclude files specified without a path, or with relative paths, or files found in a relative path in INCLUDE. You can use the /Ei option along with /Es to exclude files that /Es doesn't exclude. If you want to exclude only some of the files, use /Ei instead of /Es, and list the files you want to exclude.
/errorreport:[none | prompt | queue | send]
This option is deprecated. Starting in Windows Vista, error reporting is controlled by Windows Error Reporting (WER) settings.
Displays a summary of the BSCMAKE command-line syntax.
Includes unreferenced symbols. By default, BSCMAKE doesn't record any symbols that are defined but not referenced. If an
.sbr file has been packed, this option has no effect for that input file because the compiler has already removed the unreferenced symbols.
Forces a nonincremental build. Use /n to force a full build of the browse information file whether a
.bsc file exists or not, and to prevent
.sbr files from being truncated. See How BSCMAKE Builds a .bsc File.
Suppresses the BSCMAKE copyright message.
Specifies a name for the browse information file. By default, BSCMAKE gives the browse information file the base name of the first
.sbr file and a
Tells BSCMAKE to process the specified include file the first time it's encountered and to exclude it otherwise. Use this option to save processing time when a file (such as a header, or
.h, file for a
.cpp source file) is included in several source files but is unchanged by preprocessing directives each time. Use this option if a file is changed in ways unimportant for the browse information file you're creating. To specify multiple files, separate the names with a space, and enclose the list in parentheses. Parentheses aren't necessary if you specify only one filename. If you want to exclude the file every time it's included, use the /Ei or /Es option.
Provides verbose output, which includes the name of each
.sbr file being processed and information about the complete BSCMAKE run.
Displays a brief summary of BSCMAKE command-line syntax.
The following command line tells BSCMAKE to do a full build of MAIN.bsc from three
.sbr files. It also tells BSCMAKE to exclude duplicate instances of TOOLBOX.h:
BSCMAKE /n /S toolbox.h /o main.bsc file1.sbr file2.sbr file3.sbr