|
1 | 1 | --- |
2 | 2 | title: "C/C++ Project Properties (Visual Studio)" |
3 | 3 | description: "Reference guide to the Visual Studio Microsoft C/C++ project Property Pages properties." |
4 | | -ms.date: 06/30/2022 |
| 4 | +ms.date: 11/17/2022 |
5 | 5 | ms.topic: "article" |
6 | 6 | f1_keywords: ["VC.Project.VCCLCompilerTool.AdditionalModuleDirectories", "VC.Project.VCCLCompilerTool.ScanSourceForModuleDependencies"] |
7 | 7 | ms.assetid: 16375038-4917-4bd0-9a2a-26343c1708b7 |
@@ -36,7 +36,7 @@ Specifies one or more header units to use to resolve names passed to an `import` |
36 | 36 |
|
37 | 37 | When set to **Yes**, the compiler scans all C++ sources, not just module interface and header unit sources, for module and header units dependencies. The build system builds the full dependencies graph, which ensures that all imported modules and header units are built before compiling the files that depend on them. When combined with **Translate Includes to Imports**, any header file that's specified in a [`header-units.json`](header-unit-json-reference.md) file in the same directory as the header file is compiled into a header unit. |
38 | 38 |
|
39 | | -Files that have the extension *`.ixx`*, and files that have their **File properties** > **C/C++** > **Compile As** property set to **Compile as C++ Header Unit (/export)**, are always scanned. |
| 39 | +Files that have the extension *`.ixx`*, and files that have their **File properties** > **C/C++** > **Compile As** property set to **Compile as C++ Header Unit (/exportHeader)**, are always scanned. |
40 | 40 |
|
41 | 41 | ### Translate Includes to Imports |
42 | 42 |
|
@@ -490,8 +490,11 @@ Select compile language option for *`.c`* and *`.cpp`* files. Sets [`/TC`, `/TP` |
490 | 490 | #### Choices |
491 | 491 |
|
492 | 492 | - **Default** - Default. |
493 | | -- **Compile as C Code** - Compile as C Code. |
494 | | -- **Compile as C++ Code** - Compile as C++ Code. |
| 493 | +- **Compile as C Code ([/TC](./tc-tp-tc-tp-specify-source-file-type.md))** - Compile as C Code. |
| 494 | +- **Compile as C++ Code ([/TP](./tc-tp-tc-tp-specify-source-file-type.md))** - Compile as C++ Code. |
| 495 | +- **Compile as C++ Module Code ([/interface](./interface.md))** - Compile as C++ module code. |
| 496 | +- **Compile as C++ Module Internal Partition ([/internalPartition](./internal-partition.md))** - Compile as C++ module internal partition. |
| 497 | +- **Compile as C++ Header Unit ([/exportHeader](./module-exportheader.md))** - Compile as C++ header unit. |
495 | 498 |
|
496 | 499 | ### Disable Specific Warnings |
497 | 500 |
|
|
0 commit comments