You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **NMake** property page lets you specify build settings for NMake projects. (NMAKE is the Microsoft implementation of [Make](https://wikipedia.org/wiki/Make_(software)).)
11
+
The **NMake** property page lets you specify build settings for *Makefile* projects. (NMAKE is the Microsoft implementation of [Make](https://wikipedia.org/wiki/Make_(software)).)
12
12
13
-
For more information about NMake projects, see [Creating a Makefile Project](creating-a-makefile-project.md). For non-Windows MakeFile projects, see [MakeFile Project Properties (Linux C++)](../../linux/prop-pages/makefile-linux.md), [General Project Properties (Android C++ Makefile)](/visualstudio/cross-platform/general-makefile-android-prop-page) or [NMake Properties (Android C++)](/visualstudio/cross-platform/nmake-android-prop-page).
13
+
For more information about Makefile projects, see [Creating a Makefile Project](creating-a-makefile-project.md). For non-Windows Makefile projects, see [Makefile Project Properties (Linux C++)](../../linux/prop-pages/makefile-linux.md), [General Project Properties (Android C++ Makefile)](/visualstudio/cross-platform/general-makefile-android-prop-page) or [NMake Properties (Android C++)](/visualstudio/cross-platform/nmake-android-prop-page).
14
14
15
-
The **NMake**property page contains the following properties.
15
+
The property page contains the following properties:
16
16
17
-
## UIElement List
17
+
## General
18
18
19
19
-**Build Command Line**
20
20
@@ -32,6 +32,8 @@ The **NMake** property page contains the following properties.
32
32
33
33
Specifies the name of the file that will contain the output for the command line. By default, this file name is based on the project name.
34
34
35
+
## IntelliSense
36
+
35
37
-**Preprocessor Definitions**
36
38
37
39
Specifies any preprocessor definitions that the source files use. The default value is determined by the current platform and configuration.
@@ -42,21 +44,21 @@ The **NMake** property page contains the following properties.
42
44
43
45
-**Forced Includes**
44
46
45
-
Specifies files that the preprocessor automatically processes even if they are not included in the project files.
47
+
Specifies files that the preprocessor automatically processes even if they aren't included in the project files.
46
48
47
49
-**Assembly Search Path**
48
50
49
-
Specifies the directories where the .NET Framework searches when it trys to resolve .NET assemblies.
51
+
Specifies the directories where the .NET Framework searches when it resolves .NET assemblies.
50
52
51
53
-**Forced Using Assemblies**
52
54
53
55
Specifies assemblies that the .NET Framework automatically processes.
54
56
55
57
-**Additional Options**
56
58
57
-
Specifies any additional compiler switches for IntelliSense to use when it parses C++ files.
59
+
Specifies any extra compiler switches for IntelliSense to use when it parses C++ files.
58
60
59
-
For information about how to access the **NMake** property page, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
61
+
For information about how to access this property page, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
60
62
61
63
For information about how to programmatically access members of this object, see <xref:Microsoft.VisualStudio.VCProjectEngine.VCNMakeTool>.
The **`/WX`** linker option causes no output file to be generated if the linker generates a warning.
20
21
21
22
This option is similar to **`/WX`** for the compiler. For more information, see [/w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level)](compiler-option-warning-level.md). However, specifying **`/WX`** for the compilation doesn't imply that **`/WX`** will also be in effect for the link phase; you must explicitly specify **`/WX`** for each tool.
22
23
23
-
By default, **`/WX`** isn't in effect. To treat linker warnings as errors, specify **`/WX`**. **`/WX:NO`** is the same as not specifying **`/WX`**.
24
+
In Visual Studio 2022 and later versions, you can specify **`/WX`** with one or more comma-separated *`nnnn`* arguments, where *`nnnn`* is a number between 4000 and 4999. The linker treats the corresponding *`LNKnnnn`* warnings as errors.
25
+
26
+
By default, **`/WX`** isn't in effect. To treat linker warnings as errors, specify a **`/WX`** option. **`/WX:NO`** is the same as not specifying **`/WX`**, and overrides any previous **`/WX`** linker option.
24
27
25
28
### To set this linker option in the Visual Studio development environment
26
29
27
30
1. Open the project's **Property Pages** dialog box. For more information, see [Set compiler and build properties](../working-with-project-properties.md).
0 commit comments