Skip to content

Commit 7a3767c

Browse files
author
Colin Robertson
committed
Review updates
1 parent 98db221 commit 7a3767c

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

docs/build/reference/sourcedependencies.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,21 @@ where `...` represents your other compiler options. This command line produces a
6060
{
6161
"Version": "1.0",
6262
"Data": {
63-
"Source": "C:\\users\\username\\projects\\main_project\\main.cpp",
64-
"ProvidedModule": "",
63+
"Source": "C:\\...\\main.cpp",
64+
"PCH": "C:\\...\\pch.pch",
6565
"Includes": [
66-
"C:\\users\\username\\projects\\main_project\\header.h"
66+
"C:\\...\\header.h"
6767
],
6868
"Modules": [
69-
"C:\\users\\username\\projects\\main_project\\m.ifc",
70-
"C:\\users\\username\\projects\\main_project\\other.h.ifc"
69+
"C:\\...\\m.ifc",
70+
"C:\\...\\other.h.ifc"
7171
]
7272
}
7373
}
7474
```
7575

76+
We've used `...` to abbreviate the reported paths; the report contains the absolute paths. The paths reported depend on where the compiler finds the dependencies. If the results are unexpected, you may want to check your project's include path settings.
77+
7678
### To set the /sourceDependencies compiler option in Visual Studio
7779

7880
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).

0 commit comments

Comments
 (0)