You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/cmakesettings-reference.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -257,7 +257,8 @@ The following macros can be used in *CMakeSettings.json*:
257
257
-`${workspaceRoot}` – the full path of the workspace folder
258
258
-`${workspaceHash}` – hash of workspace location; useful for creating a unique identifier for the current workspace (for example, to use in folder paths)
259
259
-`${projectFile}` – the full path of the root CMakeLists.txt file
260
-
-`${projectDir}` – the full path of the folder of the root CMakeLists.txt file
260
+
-`${projectDir}` – the full path of the folder containing the root CMakeLists.txt file
261
+
-`${projectDirName}` – the name of the folder containing the root CMakeLists.txt file
261
262
-`${thisFile}` – the full path of the `CMakeSettings.json` file
262
263
-`${name}` – the name of the configuration
263
264
-`${generator}` – the name of the CMake generator used in this configuration
0 commit comments