Displaying the Build Environment Configuration
You can obtain information about the current configuration of your build environment by running NMAKE with the /P switch in your Windows Driver Kit (WDK) build environment window. This command displays the following information:
The values of environment variables and macros through the SetEnv.bat file.
The values of inference rules that are used by NMAKE, such as the number of processors that are used during the build.
Note When you specify the /P switch NMAKE outputs information to standard output but does not build the project.
The NMAKE utility writes a large amount of information to standard output. It is a good idea to specify an output file name as shown earlier to write the listing to a file. To capture the output in a file, run the following command in your WDK build environment window, with your context set to the directory where your project Sources file resides:
nmake /P >build-config-output-file
Send comments about this topic to Microsoft
Build date: 5/3/2011