Skip to content

Commit 40ef717

Browse files
author
mikeblome
committed
added description metadata, fixed some titles and added links to children in top level topics. More to do after this.
1 parent 1aa861f commit 40ef717

7 files changed

Lines changed: 53 additions & 60 deletions

docs/build/building-c-cpp-programs.md

Lines changed: 15 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
title: "Building C/C++ Projects in Visual Studio"
3+
ms.description:"Use Visual Studio to compile and build C++ projects for Windows, ARM or Linux based on any project system."
34
ms.date: "12/08/2018"
45
f1_keywords: ["vcbuilding", "buildingaprogramVC"]
56
helpviewer_keywords: ["builds [C++]", "Visual C++ projects, building", "projects [C++], building", "builds [C++], options", "Visual C++, build options"]
67
ms.assetid: fa6ed4ff-334a-4d99-b5e2-a1f83d2b3008
78
---
89
# Building C/C++ projects
910

10-
In Visual Studio 2017 and later, the build system and compiler toolset are decoupled from the IDE. This means you can use Visual Studio to edit any existing code base with full IntelliSense support without having to convert that code into a Visual Studio project or use MSVC to compile it. For example, you can edit a CMake project in Visual Studio on your local machine, then compile it using g++ on a remote Linux machine.
11+
You can use Visual Studio 2017 to edit, compile and build any C++ code base with full IntelliSense support without having to convert that code into a Visual Studio project or use MSVC to compile it. For example, you can edit a CMake project in Visual Studio on your local machine, then compile it using g++ on a remote Linux machine.
1112

1213
## C++ compilation
1314

@@ -57,7 +58,10 @@ How to create, configure, and build C++ projects in Visual Studio using its nati
5758
How to code, build, and deploy CMake projects in Visual Studio.
5859

5960
[Open Folder projects](non-msbuild-projects.md)
60-
How to use Visual Studio to code, build and deploy projects based on any arbitrary build system, or no build system. at all.
61+
How to use Visual Studio to code, build and deploy C++ projects based on any arbitrary build system, or no build system. at all.
62+
63+
[Windows makefile projects (NMAKE)](creating-a-makefile-project.md)
64+
How to use [NMAKE](reference/nmake-reference.md) to build makefile projects on Windows.
6165

6266
[Release builds](release-builds.md)
6367
How to create and troubleshoot optimized release builds for deployment to end users.
@@ -68,41 +72,20 @@ Discusses how to use the C/C++ compiler and build tools directly from the comman
6872
[Building DLLs in Visual Studio](dlls-in-visual-cpp.md)
6973
How to create, debug and deploy C/C++ DLLs (shared libraries) in Visual Studio.
7074

71-
[Building C/C++ Isolated Applications and Side-by-side Assemblies](building-c-cpp-isolated-applications-and-side-by-side-assemblies.md)<br/>
75+
[Building C/C++ Isolated Applications and Side-by-side Assemblies](building-c-cpp-isolated-applications-and-side-by-side-assemblies.md)
7276
Describes the deployment model for Windows Desktop applications, based on the idea of isolated applications and side-by-side assemblies.
7377

74-
[C/C++ Building Reference](reference/c-cpp-building-reference.md)<br/>
75-
Provides links to reference articles about program building in C++, compiler and linker options, and various build tools.
76-
77-
78-
79-
## Related Sections
80-
81-
[Compiling and Building](/visualstudio/ide/compiling-and-building-in-visual-studio)<br/>
82-
Describes the Visual Studio build system and tools.
83-
84-
You can build C++ projects either in Visual Studio or on the command line. The Visual Studio IDE has built-in support for the default project system, [MSBuild](msbuild-visual-cpp.md), as well as for CMake. IDE integration with any other build system is enabled through JSON configuration files.
85-
86-
On the command line, you can use the C/C++ compiler (cl.exe) and linker (link.exe) to build simple projects. To build more complex projects on the command line, you can use MSBuild or [NMAKE](reference/nmake-reference.md).
78+
[Configure Visual C++ for 64-bit, x64 targets](configuring-programs-for-64-bit-visual-cpp)
79+
How to target 64-bit x64 hardware with the MSVC build tools.
8780

88-
For an overview about how to use Visual Studio to build projects and solutions, see [Compiling and Building](/visualstudio/ide/compiling-and-building-in-visual-studio).
89-
90-
## In This Section
91-
92-
[Visual Studio Projects (C++)](creating-and-managing-visual-cpp-projects.md)<br/>
93-
[CMake projects](cmake-tools-for-visual-cpp.md)<br/>
94-
[Open Folder projects](non-msbuild-projects.md)<br/>
95-
[Windows makefile projects (NMAKE)](creating-a-makefile-project.md)<br/>
96-
[Use the MSVC toolset from the command line](building-on-the-command-line.md)<br/>
97-
How to use the C/C++ compiler and build tools directly from the command line.
98-
99-
[Use MSBuild from the command line](msbuild-visual-cpp.md)
100-
101-
[Building C/C++ Isolated Applications and Side-by-side Assemblies](building-c-cpp-isolated-applications-and-side-by-side-assemblies.md)<br/>
102-
Describes the deployment model for Windows Desktop applications, based on the idea of isolated applications and side-by-side assemblies.
81+
[Configure Visual C++ for ARM processors](configuring-programs-for-arm-processors-visual-cpp)
82+
How to use the MSVC build tools to target ARM hardware.
10383

10484
[Optimizing Your Code](optimizing-your-code.md)
85+
How to optimize your code in various ways including program guided optimizations.
86+
87+
[Configuring Programs for Windows XP](configuring-programs-for-windows-xp)
88+
How to target Windows XP with the MSVC build tools.
10589

10690
[C/C++ Building Reference](reference/c-cpp-building-reference.md)<br/>
10791
Provides links to reference articles about program building in C++, compiler and linker options, and various build tools.
108-

docs/build/creating-and-managing-visual-cpp-projects.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ In the Error List, you can press **F1** on a highlighted error to go to its docu
4747

4848
## In This Section
4949

50-
[Visual Studio C++ project templates](reference/visual-cpp-project-types.md)<br>
51-
Describes the MSBuild-based project types that are available for C++.
52-
53-
[File Types Created for C++ Projects](reference/file-types-created-for-visual-cpp-projects.md)<br>
54-
Describes the kinds of files that are used with various MSBuild project types.
55-
5650
[Creating Desktop Projects By Using Application Wizards](creating-desktop-projects-by-using-application-wizards.md)<br>
5751
How to use the wizards to create C++ projects.
5852

docs/build/reference/TOC.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -394,15 +394,6 @@
394394
#### [Expressions in Makefile Preprocessing](expressions-in-makefile-preprocessing.md)
395395
##### [Makefile Preprocessing Operators](makefile-preprocessing-operators.md)
396396
##### [Executing a Program in Preprocessing](executing-a-program-in-preprocessing.md)
397-
## [BSCMAKE Reference](bscmake-reference.md)
398-
### [Building Browse Information Files: Overview](building-browse-information-files-overview.md)
399-
### [Building a .Bsc File](building-a-dot-bsc-file.md)
400-
#### [Creating an .Sbr File](creating-an-dot-sbr-file.md)
401-
#### [How BSCMAKE Builds a .Bsc File](how-bscmake-builds-a-dot-bsc-file.md)
402-
### [BSCMAKE Command Line](bscmake-command-line.md)
403-
### [BSCMAKE Command File (Response File)](bscmake-command-file-response-file.md)
404-
### [BSCMAKE Options](bscmake-options.md)
405-
### [BSCMAKE Exit Codes](bscmake-exit-codes.md)
406397
## [LIB Reference](lib-reference.md)
407398
### [Overview of LIB](overview-of-lib.md)
408399
#### [How to: Set LIB.EXE Options in the Visual Studio Development Environment](how-to-set-lib-exe-options-in-the-visual-studio-development-environment.md)
@@ -471,8 +462,17 @@
471462
### [Error Message Edit Control](error-message-edit-control.md)
472463
### [Modules Button](modules-button.md)
473464
### [Look Up Button](look-up-button.md)
474-
# [Compiler Errors C999 to C2499](../../error-messages/compiler-errors-1/TOC.md)
475-
# [Compiler Errors C2500 to C3999](../../error-messages/compiler-errors-2/TOC.md)
465+
## [XDCMake Reference](xdcmake-reference.md)
466+
## [BSCMAKE Reference](bscmake-reference.md)
467+
### [Building Browse Information Files: Overview](building-browse-information-files-overview.md)
468+
### [Building a .Bsc File](building-a-dot-bsc-file.md)
469+
#### [Creating an .Sbr File](creating-an-dot-sbr-file.md)
470+
#### [How BSCMAKE Builds a .Bsc File](how-bscmake-builds-a-dot-bsc-file.md)
471+
### [BSCMAKE Command Line](bscmake-command-line.md)
472+
### [BSCMAKE Command File (Response File)](bscmake-command-file-response-file.md)
473+
### [BSCMAKE Options](bscmake-options.md)
474+
### [BSCMAKE Exit Codes](bscmake-exit-codes.md)
475+
# [Compiler Errors](/error-messages/compiler-errors-1/c-cpp-build-errors.md)
476476
# [Compiler Warnings](../../error-messages/compiler-warnings/TOC.md)
477477
# [Tool Errors](../../error-messages/tool-errors/TOC.md)
478478
# [XML Documentation (Visual C++)](xml-documentation-visual-cpp.md)
@@ -495,4 +495,4 @@
495495
### [<value>](value-visual-cpp.md)
496496
## [.Xml File Processing](dot-xml-file-processing.md)
497497
## [Delimiters for Visual C++ Documentation Tags](delimiters-for-visual-cpp-documentation-tags.md)
498-
# [XDCMake Reference](xdcmake-reference.md)
498+

docs/build/reference/c-cpp-build-tools.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ms.assetid: 48d9daf4-6bbf-473a-8ce2-bf2923b69f80
99

1010
Visual C++ provides the following command-line tools for viewing or manipulating build output:
1111

12-
- [BSCMAKE.EXE](bscmake-reference.md) builds a browse information file (.bsc) that contains information about the symbols (classes, functions, data, macros, and types) in your program. You view this information in browse windows within the development environment. (A .bsc file can also be built in the development environment.)
1312

1413
- [LIB.EXE](lib-reference.md) is used to create and manage a library of Common Object File Format (COFF) object files. It can also be used to create export files and import libraries to reference exported definitions.
1514

@@ -21,6 +20,10 @@ Visual C++ provides the following command-line tools for viewing or manipulating
2120

2221
- [ERRLOOK](value-edit-control.md), the Error Lookup utility, retrieves a system error message or module error message based on the value entered.
2322

23+
- [XDCMake](xdcmake-reference.md). A toolfor processing source code files that contain documentation comments marked up with XML tags.
24+
25+
- [BSCMAKE.EXE](bscmake-reference.md) (provided for backward compatibility only) builds a browse information file (.bsc) that contains information about the symbols (classes, functions, data, macros, and types) in your program. You view this information in browse windows within the development environment. (A .bsc file can also be built in the development environment.)
26+
2427
## See Also
2528

2629
[C/C++ Building Reference](c-cpp-building-reference.md)<br/>

docs/build/reference/c-cpp-building-reference.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
---
2-
title: "C/C++ Building Reference"
3-
ms.date: "11/04/2016"
2+
title: "C/C++ Building Reference - Visual Studio"
3+
description:"Reference content for C/C++ project system and build tools in Visual Studio."
4+
ms.date: "12/10/2018"
45
helpviewer_keywords: ["compiling source code [C++], additional information", "cl.exe compiler [C++], building programs", "linker [C++], building reference", "builds [C++], additional information"]
56
ms.assetid: 100b4ccf-572c-4d1f-970c-fa0bc0cc0d2d
67
---
78
# C/C++ Building Reference
89

9-
Visual C++ provides two ways of building a C/C++ program. The easiest (and most common) way is to [build within the Visual C++ development environment](../creating-and-managing-visual-cpp-projects.md). The other way is to [build from a command prompt using command-line tools](../building-on-the-command-line.md). In either case, you can create your source files using the Visual C++ source editor or a third-party editor of your choice.
10+
Visual C++ provides two ways of building a C/C++ program. The easiest (and most common) way is to [build within the Visual Studio IDE](../creating-and-managing-visual-cpp-projects.md). The other way is to [build from a command prompt using command-line tools](../building-on-the-command-line.md). In either case, you can create and edit your source files using Visual Studio or a third-party editor of your choice.
1011

1112
## In This Section
1213

13-
[MSBuild Overview for C++ projects](msbuild-visual-cpp-overview.md)
14+
[MSBuild reference for C++ projects](msbuild-visual-cpp-overview.md)
1415

1516
[Compiling a C/C++ Program](compiling-a-c-cpp-program.md)<br/>
16-
Describes the compiler, which creates an object file containing machine code, linker directives, sections, external references, and function/data names.
17+
Describes the MSVC compiler, which creates an object file containing machine code, linker directives, sections, external references, and function/data names.
1718

1819
[Linking](linking.md)<br/>
1920
Describes the linker, which combines code from the object files created by the compiler and from statically linked libraries, resolves the name references, and creates an executable file.
2021

22+
[Unicode Support in the Compiler and Linker](unicode-support-in-the-compiler-and-linker.md)
23+
2124
[C/C++ Build Tools](c-cpp-build-tools.md)<br/>
22-
Provides the following command-line tools for viewing or manipulating build output:
25+
Additional command-line tools for C++.
2326

2427
[C/C++ Build Errors](../../error-messages/compiler-errors-1/c-cpp-build-errors.md)<br/>
2528
Introduces the build errors section in the table of contents.

docs/build/reference/compiling-a-c-cpp-program.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: "Compiling a C/C++ project in Visual Studio"
2+
title: "C/C++ compiler reference - Visual Studio"
3+
description:"MSVC compiler toolset options."
34
ms.date: "12/10/2018"
45
helpviewer_keywords: ["cl.exe compiler", "cl.exe compiler, setting options"]
56
ms.assetid: f3eef5ab-d0be-4fb2-90f9-927e6ed58736
@@ -10,7 +11,7 @@ C and C++ compiler options can be set either in the Visual Studio IDE or on the
1011

1112
## In Visual Studio
1213

13-
You can set compiler options for each project in its **Property Pages** dialog box. In the left pane, select **Configuration Properties**, **C/C++** and then choose the compiler option category. The topic for each compiler option describes how it can be set and where it is found in the development environment. See [Compiler Options](compiler-options.md) for a complete list.
14+
You can set compiler options for each project in its Visual Studio **Property Pages** dialog box. In the left pane, select **Configuration Properties**, **C/C++** and then choose the compiler option category. The topic for each compiler option describes how it can be set and where it is found in the development environment. See [Compiler Options](compiler-options.md) for a complete list.
1415

1516
## From the command line
1617

docs/build/reference/msbuild-reference-cpp.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ Describes macros (compile-time constants) that can be used to define properties
2222
[File types created for C++ projects](file-types-created-for-visual-cpp-projects.md)<br/>
2323
Describes the various kinds of files that Visual Studio creates for different project types.
2424

25-
[Property Pages (C++)](property-pages-visual-cpp.md)<br/>
25+
[Visual Studio C++ project templates](visual-cpp-project-types.md)<br>
26+
Describes the MSBuild-based project types that are available for C++.
27+
28+
[C++ new item templates](using-visual-cpp-add-new-item-templates.md)<br>
29+
Describes source files and other items you can add to a Visual Studio project.
30+
31+
[Precompiled header files](creating-precompiled-header-files.md)
32+
How to use precompiled header files and how to create your own custom precompiled code to speed up build times.
33+
34+
[Visual Studio project property reference](property-pages-visual-cpp.md)<br/>
2635
Reference documentation for project properties that are set in the Visual Studio IDE.
2736

2837
## See Also

0 commit comments

Comments
 (0)