Skip to content

Commit ae3abed

Browse files
authored
Merge pull request #2271 from mikeblome/mb-resource-props
updates for resources prop page
2 parents 528eaf0 + fe75721 commit ae3abed

File tree

5 files changed

+70
-21
lines changed

5 files changed

+70
-21
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Additional MSVC Build Tools"
3-
ms.date: "05/06/2019"
3+
ms.date: "08/28/2019"
44
f1_keywords: ["c.build"]
55
helpviewer_keywords: ["builds [C++], C/C++ tools", "tools [C++], build"]
66
ms.assetid: 48d9daf4-6bbf-473a-8ce2-bf2923b69f80
@@ -9,7 +9,6 @@ ms.assetid: 48d9daf4-6bbf-473a-8ce2-bf2923b69f80
99

1010
Visual Studio provides the following command-line utilities for viewing or manipulating build output:
1111

12-
1312
- [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.
1413

1514
- [EDITBIN.EXE](editbin-reference.md) is used to modify COFF binary files.
@@ -20,10 +19,12 @@ Visual Studio provides the following command-line utilities for viewing or manip
2019

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

23-
- [XDCMake](xdcmake-reference.md). A toolfor processing source code files that contain documentation comments marked up with XML tags.
22+
- [XDCMake](xdcmake-reference.md). A tool for processing source code files that contain documentation comments marked up with XML tags.
2423

2524
- [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.)
2625

26+
The Windows SDK also has several build tools, including [RC.EXE](/windows/win32/menurc/resource-compiler), which the C++ compiler invokes to compile native Windows resources such as dialogs, property pages, bitmaps, string tables and so on.
27+
2728
## See also
2829

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

docs/build/reference/managed-resources-property-page.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
22
title: "Managed Resources Property Page"
3-
ms.date: "11/04/2016"
3+
ms.date: "08/28/2019"
44
f1_keywords: ["VC.Project.VCManagedResourceCompilerTool.ResourceFileName", "VC.Project.VCManagedResourceCompilerTool.OutputFileName", "VC.Project.VCManagedResourceCompilerTool.DefaultLocalizedResources"]
55
helpviewer_keywords: ["Managed Resources property page"]
66
ms.assetid: 80b80384-ee55-494d-9f0e-907bb98cfc19
77
---
88
# Managed Resources Property Page
99

10-
Enables settings for the resource compiler.
11-
12-
The **Managed Resources** property page contains the following properties:
10+
The **Managed Resources** property page exposes the following properties for the managed resource compiler [resgen.exe](/dotnet/framework/tools/resgen-exe-resource-file-generator) when using .NET resources in C++/CLI programs:
1311

1412
- **Resource Logical Name**
1513

102 KB
Loading

docs/build/reference/property-pages-visual-cpp.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
---
2-
title: "C++ project property page reference - Visual Studio"
3-
ms.date: "07/24/2019"
2+
title: "Windows C++ project property page reference - Visual Studio"
3+
ms.date: "08/28/2019"
44
helpviewer_keywords: ["project-file macro", "project properties [C++], default values", "user-defined values", "project properties [C++], setting", "macros, project-file", "property pages, project settings", "C++ projects, properties", "build macro", "user-defined macros"]
55
ms.assetid: 13ffe3ea-1bc3-4bee-be5e-053a8a99cce4
66
---
7-
# C++ project property page reference
7+
# Windows C++ project property page reference
88

9-
In Visual Studio, you specify compiler and linker options, file paths, and other build settings through the property pages for the project. To open the **Property Pages**, choose **Project** > **Properties** from the main menu, or right-click on the project node in **Solution Explorer** and choose **Properties**. For more information about project properties, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
9+
In Visual Studio, you specify compiler and linker options, file paths, and other build settings through the property pages for the project. The properties and property pages that are available depend on the project type. For example, a makefile project has an NMake property page, which is not present in an MFC or Win32 console project. To open the **Property Pages**, choose **Project** > **Properties** from the main menu, or right-click on the project node in **Solution Explorer** and choose **Properties**. Individual files also have property pages that enable you to set compile and build options for just that file. The following image shows the property pages for an MFC project.
10+
11+
![Property Pages for C++ project](media/example-prop-page.png)
12+
13+
This section provides a quick reference for the property pages themselves. The options and settings exposed in the property pages are documented more completely in their own topics and are linked from the property page topics. For more information about project properties, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
1014

1115
For property pages in Linux projects, see [Linux C++ Property Page Reference](../../linux/prop-pages-linux.md).
1216

@@ -33,4 +37,5 @@ For property pages in Linux projects, see [Linux C++ Property Page Reference](..
3337
## See also
3438

3539
[How to: Create and Remove Project Dependencies](/visualstudio/ide/how-to-create-and-remove-project-dependencies)<br/>
36-
[How to: Create and Edit Configurations](/visualstudio/ide/how-to-create-and-edit-configurations)
40+
[How to: Create and Edit Configurations](/visualstudio/ide/how-to-create-and-edit-configurations)<br/>
41+
[Linux C++ Property Page Reference](../../linux/prop-pages-linux.md)
Lines changed: 54 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,63 @@
11
---
2-
title: "Resources Property Pages"
3-
ms.date: "11/04/2016"
4-
f1_keywords: ["VC.Project.VCResourceCompilerTool.ShowProgress", "VC.Project.VCResourceCompilerTool.AdditionalIncludeDirectories", "VC.Project.VCResourceCompilerTool.PreprocessorDefinitions", "VC.Project.VCResourceCompilerTool.OVERWRITEStandardIncludePath", "VC.Project.VCResourceCompilerTool.Culture", "VC.Project.VCResourceCompilerTool.ResourceOutputFileName"]
5-
helpviewer_keywords: ["Resources property pages"]
2+
title: "Resources"
3+
ms.date: "08/28/2019"
4+
ms.topic: "article"
65
ms.assetid: dade2f6b-c51f-4c33-9023-41956ae4b5f6
6+
f1_keywords:
7+
- VC.Project.VCResourceCompilerTool.PreprocessorDefinitions
8+
- VC.Project.VCResourceCompilerTool.UndefineProcessorDefinitions
9+
- VC.Project.VCResourceCompilerTool.Culture
10+
- VC.Project.VCResourceCompilerTool.AdditionalIncludeDirectories
11+
- VC.Project.VCResourceCompilerTool.IgnoreStandardIncludePath
12+
- VC.Project.VCResourceCompilerTool.ShowProgress
13+
- VC.Project.VCResourceCompilerTool.SuppressStartupBanner
14+
- VC.Project.VCResourceCompilerTool.ResourceOutputFileName
15+
- VC.Project.VCResourceCompilerTool.NullTerminateStrings
16+
- vc.project.AdditionalOptionsPage
717
---
8-
# Resources Property Pages
918

10-
For more information on using the resource compiler, see [Using RC (The RC Command Line)](/windows/win32/menurc/using-rc-the-rc-command-line-).
19+
# Resources property page
1120

12-
For information on how to access the **Resources** property pages, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
21+
For native Windows desktop programs, the build invokes the [Resource Compiler (rc.exe)](/windows/win32/menurc/resource-compiler) to add images, string tables, and *.res* files to the binary. The properties exposed in this property page are passed to the Resource Compiler, not to the C++ compiler or the linker. For more information on the properties listed here and how they map to RC command-line options, see [Using RC (The RC Command Line)](/windows/win32/menurc/using-rc-the-rc-command-line-). For information on how to access the **Resources** property pages, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md). To programmatically access these properties, see <xref:Microsoft.VisualStudio.VCProjectEngine.VCResourceCompilerTool>.
1322

14-
To programmatically access these properties, see <xref:Microsoft.VisualStudio.VCProjectEngine.VCResourceCompilerTool>.
23+
Properties for .NET resources in C++/CLI applications are exposed in the [Managed Resources Property Page](managed-resources-property-page.md).
24+
25+
## Preprocessor Definitions
26+
27+
Specifies one or more defines for the resource compiler. (/d[macro])
28+
29+
## Undefine Preprocessor Definitions
30+
31+
Undefine a symbol. (/u)
32+
33+
## Culture
34+
35+
Lists the culture (such as US English or Italian) used in the resources. (/l [num])
36+
37+
## Additional Include Directories
38+
39+
Specifies one or more directories to add to the include path; use semi-colon delimiter if more than one. (/I[path])
40+
41+
## Ignore Standard Include Paths
42+
43+
Prevents the resource compiler from searching for include files in directories specified in the INCLUDE environment variables. (/X)
44+
45+
## Show Progress
46+
47+
Send progress messages to output window. (/v)
48+
49+
## Suppress Startup Banner
50+
51+
Suppress the display of the startup banner and information message (/nologo)
52+
53+
## Resource File Name
54+
55+
Specifies the name of the resource file (/fo[file])
56+
57+
## Null Terminate Strings
58+
59+
Append null's to all strings in the string tables. (/n)
1560

1661
## See also
1762

18-
[C++ project property page reference](property-pages-visual-cpp.md)
63+
[C++ project property page reference](property-pages-visual-cpp.md)

0 commit comments

Comments
 (0)