Skip to content

Commit dc193c3

Browse files
Merge pull request #5060 from TylerMSFT/ifcmap
tech review
2 parents 0501170 + 61826ee commit dc193c3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/build/reference/ifc-map.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Map named modules and header units to IFC files."
44
ms.date: 10/13/2023
55
author: "tylermsft"
66
ms.author: "twhitney"
7-
f1_keywords: ["/ifcMap", "VC.Project.VCCLCompilerTool.ifcMap"]
7+
f1_keywords: ["/ifcMap"]
88
helpviewer_keywords: ["/ifcMap", "Specify named module and header unit mappings to IFC files."]
99
---
1010
# `/ifcMap`
@@ -70,15 +70,13 @@ name = ["angle", "algorithm"]
7070
ifc = "C:\\header-units\\algorithm.ifc"
7171
```
7272

73-
When `[[header-unit]]` is specified in the TOML, the compiler implicitly enables [`/Zc:preprocessor`](zc-preprocessor.md), just as it's implicitly enabled when [`/headerUnit`](headerunit.md) is used. For more information about the behavior of the 'angle' and 'quote' lookup methods, see the [/headerUnit Remarks](headerunit.md#remarks).
73+
The equivalent [`/headerUnit`](headerunit.md) for the previous TOML is:
7474

75-
### To set this compiler option in the Visual Studio development environment
76-
77-
1. Open the **Property Pages** dialog box for the project. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
78-
79-
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.
75+
```cmd
76+
/headerUnit:quote my-utility=C:\header-units\my-utility.h.ifc /headerUnit:angle vector=C:\header-units\vector.ifc /headerUnit:quote my-engine.h=C:\header-units\my-engine.h.ifc /headerUnit:angle algorithm=C:\header-units\algorithm.ifc
77+
```
8078

81-
1. In the **Additional options** box, add `/ifcMap tomlfile.toml`.
79+
When `[[header-unit]]` is specified in the TOML, the compiler implicitly enables [`/Zc:preprocessor`](zc-preprocessor.md), just as it's implicitly enabled when [`/headerUnit`](headerunit.md) is used. For more information about the behavior of the 'angle' and 'quote' lookup methods, see the [/headerUnit remarks](headerunit.md#remarks).
8280

8381
## See also
8482

0 commit comments

Comments
 (0)