Compiling Files
Home Page (Projects) | Overviews | How Do I... Topics | NMAKE Reference
You can select and compile files in any project in your project workspace.
To compile selected files
Select the files in the FileView pane of the Project Workspace window.
With the mouse pointer over the selection, click the right mouse button to display the shortcut menu, and click Compile.
If the project file you are compiling is dependent on any other file, such as a precompiled header (.PCH) file, you should first ensure that the dependent file exists and is up to date before compiling this file.
Note If you have specified a custom build rule (or rules) for a file, when you click Compile, Visual C++ runs that rule with the file as input, and produces the output specified.