Skip to content

Commit cfba546

Browse files
author
3836425+corob-msft@users.noreply.github.com
committed
Change P1689R3 to P1689R4 per Gaby
1 parent b213c5f commit cfba546

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/build/reference/scandependencies.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ helpviewer_keywords: ["/scanDependencies compiler option", "/scanDependencies"]
99
---
1010
# `/scanDependencies` (List module dependencies in standard form)
1111

12-
This compiler option generates a JSON file that lists module and header-unit dependencies according to C++ Standard proposal [`P1689R3 Format for describing dependencies of source files`](https://wg21.link/P1689r3).
12+
This compiler option generates a JSON file that lists module and header-unit dependencies according to C++ Standard proposal [`P1689R4 Format for describing dependencies of source files`](https://wg21.link/P1689r4).
1313

1414
The **`/scanDependencies`** compiler option identifies which modules and header units need to be compiled before you can compile the project that uses them. For instance, it lists `import <library>;` or `import "library";` as a header unit dependency, and `import name;` as a module dependency. The intent is to provide this information in a common format consumable by build tools such as CMake.
1515

1616
This command-line option is similar to [`/sourceDependencies-directives`](sourcedependencies-directives.md) and [`/sourceDependencies`](sourcedependencies.md), but differs in the following ways:
1717

18-
- The output uses the [`P1689R3`](https://wg21.link/P1689r3) schema, instead of the Microsoft-specific schema generated by **`/sourceDependencies-directives`**.
18+
- The output uses the [`P1689R4`](https://wg21.link/P1689r4) schema, instead of the Microsoft-specific schema generated by **`/sourceDependencies-directives`**.
1919
- Unlike **`/sourceDependencies`**, the compiler doesn't produce compiled output. Instead, the files are scanned for module directives. No compiled code, modules, or header units are produced.
2020
- The output JSON file doesn't list imported modules and imported header units (*`.ifc`* files) because this option only scans the project files. There are no built modules or header units to list.
2121
- Only directly imported modules or header units are listed. It doesn't list the dependencies of the imported modules or header units themselves.
@@ -49,7 +49,7 @@ When a non-fatal compiler error occurs, the dependency information still gets wr
4949

5050
All file paths appear as absolute paths in the output.
5151

52-
For details on the format and schema used in the output JSON file, see [`P1689R3`](https://wg21.link/P1689r3#_format) section 6.
52+
For details on the format and schema used in the output JSON file, see [`P1689R4`](https://wg21.link/P1689r4#_format) section 6.
5353

5454
### Examples
5555

docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ In Visual Studio 2022, when you start your app in the debugger, you can use the
5959

6060
- The Project menu in CMake projects has been streamlined and exposes options to "Delete Cache and Reconfigure" and "View Cache".
6161

62-
- Implemented the **`/scanDependencies`** compiler option to list C++20 module dependencies for CMake projects, as described in [P1689r3](https://wg21.link/P1689r3). It's a step towards support for building modules-based projects with CMake and we're working on completing this support in later releases.
62+
- Implemented the **`/scanDependencies`** compiler option to list C++20 module dependencies for CMake projects, as described in [P1689R4](https://wg21.link/P1689r4). It's a step towards support for building modules-based projects with CMake and we're working on completing this support in later releases.
6363

6464
### Standard Library improvements
6565

0 commit comments

Comments
 (0)