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
Copy file name to clipboardExpand all lines: docs/build/creating-and-managing-visual-cpp-projects.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ To add third-party libraries, use the [vcpkg](../vcpkg.md) package manager. Run
33
33
34
34
## Set compiler options and other build properties
35
35
36
-
To configure build settings for a project, right-click on the project in **Solution Explorer** and choose **Properties**. For more information, see [Set compiler and build properties](working-with-project-properties).
36
+
To configure build settings for a project, right-click on the project in **Solution Explorer** and choose **Properties**. For more information, see [Set compiler and build properties](working-with-project-properties.md).
37
37
38
38
## Compile and run
39
39
@@ -47,7 +47,7 @@ In the Error List, you can press **F1** on a highlighted error to go to its docu
47
47
48
48
## In This Section
49
49
50
-
[Visual Studio C++ project templates](visual-cpp-project-types.md)<br>
50
+
[Visual Studio C++ project templates](reference/visual-cpp-project-types.md)<br>
51
51
Describes the MSBuild-based project types that are available for C++.
52
52
53
53
[File Types Created for C++ Projects](reference/file-types-created-for-visual-cpp-projects.md)<br>
Copy file name to clipboardExpand all lines: docs/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Visual C++ includes compilers, linkers, and other tools that you can use to crea
13
13
>
14
14
> For information about how to use the Visual Studio IDE to create 64-bit applications, see [How to: Configure Visual C++ Projects to Target 64-Bit, x64 Platforms](how-to-configure-visual-cpp-projects-to-target-64-bit-platforms.md).
15
15
16
-
When you install a C++ workload in the Visual Studio installer, it always installs 32-bit, x86-hosted, native and cross compiler tools to build x86 and x64 code. If you include the Universal Windows Platform workload, it also installs x86-hosted cross compiler tools to build ARM code. If you install these workloads on a 64-bit, x64 processor, you also get 64-bit native and cross compiler tools to build x86, x64, and ARM code. The 32-bit and 64-bit tools generate identical code, but the 64-bit tools support more memory for precompiled header symbols and the Whole Program Optimization ([/GL](reference/reference/gl-whole-program-optimization.md) and [/LTCG](reference/ltcg-link-time-code-generation.md)) options. If you run into memory limits when you use the 32-bit tools, try the 64-bit tools.
16
+
When you install a C++ workload in the Visual Studio installer, it always installs 32-bit, x86-hosted, native and cross compiler tools to build x86 and x64 code. If you include the Universal Windows Platform workload, it also installs x86-hosted cross compiler tools to build ARM code. If you install these workloads on a 64-bit, x64 processor, you also get 64-bit native and cross compiler tools to build x86, x64, and ARM code. The 32-bit and 64-bit tools generate identical code, but the 64-bit tools support more memory for precompiled header symbols and the Whole Program Optimization ([/GL](reference/gl-whole-program-optimization.md) and [/LTCG](reference/ltcg-link-time-code-generation.md)) options. If you run into memory limits when you use the 32-bit tools, try the 64-bit tools.
17
17
18
18
## Use a 64-bit hosted developer command prompt shortcut
Copy file name to clipboardExpand all lines: docs/build/reference/compiler-options.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ To find a particular compiler option, see one of the following lists:
29
29
30
30
The topic for each compiler option discusses how it can be set in the development environment. For information on specifying options outside the development environment, see:
Copy file name to clipboardExpand all lines: docs/build/reference/compiling-a-c-cpp-program.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ You can set compiler options for each project in its **Property Pages** dialog b
16
16
17
17
You can set compiler (CL.exe) options:
18
18
19
-
-[On the command line](compiler-command-line-syntax.md)
19
+
-[On the command line](../compiler-command-line-syntax.md)
20
20
21
21
-[In command files](../cl-command-files.md)
22
22
@@ -36,7 +36,7 @@ Compiler options are processed "left to right," and when a conflict is detected,
36
36
37
37
-[CL Invokes the Linker](../cl-invokes-the-linker.md)
38
38
39
-
For information on choosing the compiler host and target architecture, see [Configure Visual C++ for 64-bit, x64 targets](../../build/configuring-programs-for-64-bit-visual-cpp.md).
39
+
For information on choosing the compiler host and target architecture, see [Configure Visual C++ for 64-bit, x64 targets](../configuring-programs-for-64-bit-visual-cpp.md).
Copy file name to clipboardExpand all lines: docs/build/reference/creating-precompiled-header-files.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Precompiling requires planning, but it offers significantly faster compilations
38
38
39
39
Precompile code when you know that your source files use common sets of header files but don't include them in the same order, or when you want to include source code in your precompilation.
40
40
41
-
The precompiled-header options are [/Yc (Create Precompiled Header File)](../../build/reference/yc-create-precompiled-header-file.md) and [/Yu (Use Precompiled Header File)](../../build/reference/yu-use-precompiled-header-file.md). Use **/Yc** to create a precompiled header. When used with the optional [hdrstop](../../preprocessor/hdrstop.md) pragma, **/Yc** lets you precompile both header files and source code. Select **/Yu** to use an existing precompiled header in the existing compilation. You can also use **/Fp** with the **/Yc** and **/Yu** options to provide an alternative name for the precompiled header.
41
+
The precompiled-header options are [/Yc (Create Precompiled Header File)](yc-create-precompiled-header-file.md) and [/Yu (Use Precompiled Header File)](yu-use-precompiled-header-file.md). Use **/Yc** to create a precompiled header. When used with the optional [hdrstop](../../preprocessor/hdrstop.md) pragma, **/Yc** lets you precompile both header files and source code. Select **/Yu** to use an existing precompiled header in the existing compilation. You can also use **/Fp** with the **/Yc** and **/Yu** options to provide an alternative name for the precompiled header.
42
42
43
43
The compiler option reference topics for **/Yu** and **/Yc** discuss how to access this functionality in the development environment.
44
44
@@ -48,7 +48,7 @@ Because PCH files contain information about the machine environment as well as m
48
48
49
49
## Consistency Rules for Per-File Use of Precompiled Headers
50
50
51
-
The [/Yu](../../build/reference/yu-use-precompiled-header-file.md) compiler option lets you specify which PCH file to use.
51
+
The [/Yu](yu-use-precompiled-header-file.md) compiler option lets you specify which PCH file to use.
52
52
53
53
When you use a PCH file, the compiler assumes the same compilation environment — one that uses consistent compiler options, pragmas, and so on — that was in effect when you created the PCH file, unless you specify otherwise. If the compiler detects an inconsistency, it issues a warning and identifies the inconsistency where possible. Such warnings do not necessarily indicate a problem with the PCH file; they simply warn you of possible conflicts. Consistency requirements for PCH files are described in the following sections.
54
54
@@ -130,7 +130,7 @@ The code base of a software project is usually contained in multiple C or C++ so
130
130
131
131
The figure uses three diagrammatic devices to show the flow of the build process. Named rectangles represent each file or macro; the three macros represent one or more files. Shaded areas represent each compile or link action. Arrows show which files and macros are combined during the compilation or linking process.
132
132
133
-
 <br/>
133
+
 <br/>
134
134
Structure of a Makefile That Uses a Precompiled Header File
135
135
136
136
Beginning at the top of the diagram, both STABLEHDRS and BOUNDRY are NMAKE macros in which you list files not likely to need recompilation. These files are compiled by the command string
@@ -210,7 +210,7 @@ NMAKE
210
210
NMAKE DEBUG=0
211
211
```
212
212
213
-
For more information on makefiles, see [NMAKE Reference](../../build/nmake-reference.md). Also see [Compiler Options](../../build/reference/compiler-options.md) and the [Linker Options](../../build/reference/linker-options.md).
213
+
For more information on makefiles, see [NMAKE Reference](nmake-reference.md). Also see [Compiler Options](compiler-options.md) and the [Linker Options](linker-options.md).
214
214
215
215
## Example Code for PCH
216
216
@@ -298,5 +298,5 @@ int main( void )
298
298
299
299
## See Also
300
300
301
-
[C/C++ Building Reference](../../build/c-cpp-building-reference.md)<br/>
Copy file name to clipboardExpand all lines: docs/build/reference/entry-entry-point-symbol.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ The functions `main`, `WinMain`, and `DllMain` are the three forms of the user-d
36
36
37
37
When creating a managed image, the function specified to /ENTRY must have a signature of (LPVOID *var1*, DWORD *var2*, LPVOID *var3*).
38
38
39
-
For information on how to define your own `DllMain` entry point, see [DLLs and Visual C++ run-time library behavior](../../build/run-time-library-behavior.md) .
39
+
For information on how to define your own `DllMain` entry point, see [DLLs and Visual C++ run-time library behavior](../run-time-library-behavior.md) .
40
40
41
41
### To set this linker option in the Visual Studio development environment
0 commit comments