Skip to content

Commit 4ccea38

Browse files
author
duke
committed
Backport 98f40e4575538d91f509c85d9d657a8973f464be
1 parent 89c5659 commit 4ccea38

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

make/ide/vscode/hotspot/CreateVSCodeProject.gmk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ define CreateFromTemplate
8484
$(SED) -e 's!{{TOPDIR}}!$(call SedEscape,$(call FixPath,$(TOPDIR)))!g' \
8585
-e 's!{{TOPDIR_RELATIVE}}!$(call SedEscape,$(call FixPath,$(strip \
8686
$(call RelativePath,$(OUTPUTDIR),$(TOPDIR)))))!g' \
87+
-e 's!{{TOPDIR_BASE}}!$(notdir $(TOPDIR))!g' \
88+
-e 's!{{OUTPUT_BASE}}!$(notdir $(OUTPUTDIR))!g' \
8789
-e 's!{{WORKSPACE_ROOT}}!$(call SedEscape,$(call FixPath,$(WORKSPACE_ROOT)))!g' \
8890
-e 's!{{OUTPUTDIR}}!$(call SedEscape,$(call FixPath,$(OUTPUTDIR)))!g' \
8991
-e 's!{{CONF_NAME}}!$(CONF_NAME)!g' \

make/ide/vscode/hotspot/template-workspace.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"folders": [
33
{
4-
"name": "Source root",
4+
"name": "Source root ({{TOPDIR_BASE}})",
55
"path": "{{TOPDIR}}"
66
},
77
// {{EXTRA_WORKSPACE_ROOT}}
88
{
9-
"name": "Build artifacts",
9+
"name": "Build artifacts ({{OUTPUT_BASE}})",
1010
"path": "{{OUTPUTDIR}}"
1111
}
1212
],

0 commit comments

Comments
 (0)